This commit is contained in:
2019-02-19 23:57:38 +01:00
parent 7c5caf97d2
commit 1891fe0340
14 changed files with 244 additions and 208 deletions
@@ -1,5 +1,7 @@
{% if page.taxonomy.category %}
<span class="category">
{% for category in page.taxonomy.category %}
<a href="{{ blog.url|rtrim('/') }}/category{{ config.system.param_sep }}{{ category }}" data-filter="{{ category }}" >{{ category }}</a>
<a class="label label-rounded {{ label_style ?: 'label-secondary' }} p-category" href="{{ blog.url|rtrim('/') }}/category{{ config.system.param_sep }}{{ category }}#body-wrapper">{{ category }}</a>
{% endfor %}
</span>
{% endif %}