neues theme: add blueprints.yaml
This commit is contained in:
parent
24ceeef8e8
commit
2418c53d95
|
@ -1,14 +1,14 @@
|
|||
{% if "events" in page.url %}
|
||||
|
||||
|
||||
<span class="tags">1
|
||||
{% for p in page.collection() %}
|
||||
{% for tax, value in p.taxonomy[taxonomy] %}
|
||||
{% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %}
|
||||
<a class="label label-rounded {{ label_class }}" href="{{ base_url }}/{{ taxonomy }}{{ config.system.param_sep }}{{ tax }}">{{ tax }}</a>
|
||||
{% set tags = page.collection().group('tags') %}
|
||||
{% set top5tags = tags|slice(0, 5) %}
|
||||
|
||||
<ul>
|
||||
{% for tag in top5tags %}
|
||||
<li>{{ tag.name }} ({{ tag.count }})</li>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</span>
|
||||
</ul>
|
||||
|
||||
|
||||
{% else %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user