This commit is contained in:
Daniel Hladek 2020-10-03 10:16:41 +02:00
parent 794854bb5b
commit d9b8121114
2 changed files with 1 additions and 10 deletions

View File

@ -21,6 +21,6 @@ params:
sidebar: # params for the sidebar
maxentries: 5 # maximum number of articles to display in "Popular" and "Latest" sections
show:
categories: true # show Category list in the sidebar
categories: false # show Category list in the sidebar
popular: true # show the Popular Articles sidebar
latest: true # show the Latest Articles sidebar

View File

@ -52,15 +52,6 @@
<i class="fa fa-tags rightpad"></i>{{ taglist|join(', ') }}
</div>
{% endif %}
{% if page.taxonomy.category|length > 0 %}
{% set categorylist = [] %}
{% for category in page.taxonomy.category %}
{% set categorylist = categorylist|merge(['<a href="'~base_url~'/categories/'~(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')) %}
<div>{% include 'partials/git_sync_repo_link_note.html.twig' %}</dic>
{% endif %}