last batch of adjustements

This commit is contained in:
Bachir Soussi Chiadmi
2018-01-31 19:38:26 +01:00
parent 2600e318dd
commit fdb2b653d9
14 changed files with 600 additions and 387 deletions
@@ -1,7 +1,7 @@
{% set blockclass = "" %}
{% if page.taxonomy.tag %}
{% for tag in page.taxonomy.tag %}
{% set blockclass = blockclass ~ " tag-" ~ catlist[(tag|e('url'))] %}
{% set blockclass = blockclass ~ " " ~ tag|replace({'|': "-", " " : ""}) %}
{% endfor %}
{% endif %}
@@ -21,8 +21,8 @@
<li>
<a
class="tag-{{ catlist[(tag|e('url'))] }}"
data-filter=".tag-{{ catlist[(tag|e('url'))] }}"
href="/categories/tag{{ config.system.param_sep }}{{ tag|e('url') }}">
data-filter="{{ tag|replace({'|': "-", " " : ""}) }}"
href="{{ base_url }}#{{ tag|replace({'|': "-", " " : ""}) }}">
<span>{{ tag }}</span>
</a>
</li>