init
This commit is contained in:
commit
c9def51b7e
38 changed files with 5755 additions and 0 deletions
10
templates/partials/taxonomylist.html.twig
Normal file
10
templates/partials/taxonomylist.html.twig
Normal file
|
@ -0,0 +1,10 @@
|
|||
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
|
||||
|
||||
{% if taxlist %}
|
||||
<span class="tags">
|
||||
{% for tax,value in taxlist[taxonomy] %}
|
||||
{% set badge_class = uri.param(taxonomy) == tax ? 'badge-primary' : 'badge-secondary' %}
|
||||
<a class="badge {{ badge_class }}" href="{{ base_url }}/{{ taxonomy }}{{ config.system.param_sep }}{{ tax }}">{{ tax }}</a>
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% endif %}
|
Loading…
Add table
Add a link
Reference in a new issue