This commit is contained in:
Daniel Hladek 2020-10-03 10:02:04 +02:00
parent b4f879db7c
commit 1630708714

View File

@ -52,6 +52,15 @@
<i class="fa fa-tags rightpad"></i>{{ taglist|join(', ') }} <i class="fa fa-tags rightpad"></i>{{ taglist|join(', ') }}
</div> </div>
{% endif %} {% endif %}
{% if page.taxonomy.category|length > 0 %}
{% set categorylist = [] %}
{% for category in page.taxonomy.category %}
{% set categorylist = categorylist|merge(['<a href="'~base_url~'/taxonomy?name=category&amp;val='~(category|url_encode)~'">'~category~'</a>']) %}
{% endfor %}
<div class="cagtegories">
<i class="fa fa-tags rightpad"></i>{{ categorylist|join(', ') }}
</div>
{% endif %}
{% if theme_var('display_of_git_sync_repo_link') == 'page' and not (grav.uri.param('summaryonly') or grav.uri.param('onlysummary')) %} {% if theme_var('display_of_git_sync_repo_link') == 'page' and not (grav.uri.param('summaryonly') or grav.uri.param('onlysummary')) %}
<div>{% include 'partials/git_sync_repo_link_note.html.twig' %}</dic> <div>{% include 'partials/git_sync_repo_link_note.html.twig' %}</dic>
{% endif %} {% endif %}