added date to title in home, added catégories and cat class in block in home
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
{# build taxo tags (categories) ids array #}
|
||||
{% set taxlist = taxonomylist.get() %}
|
||||
{% if taxlist %}
|
||||
{% set catlist = {} %}
|
||||
{% set id = 1 %}
|
||||
{% for tax,value in taxlist['tag'] %}
|
||||
{% set catlist = catlist|merge({ (tax|e('url')) : (id) }) %}
|
||||
{% set id = id + 1 %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
|
||||
<!doctype html>
|
||||
<html class="no-js" lang="en">
|
||||
<head>
|
||||
|
||||
Reference in New Issue
Block a user