From d9b8121114c4d3a1d07b675e99bde1d0451b13b7 Mon Sep 17 00:00:00 2001 From: Daniel Hladek Date: Sat, 3 Oct 2020 10:16:41 +0200 Subject: [PATCH] zz --- themes/mytheme/mytheme.yaml | 2 +- themes/mytheme/templates/README.html.twig | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/themes/mytheme/mytheme.yaml b/themes/mytheme/mytheme.yaml index 53e119498..8763283e8 100644 --- a/themes/mytheme/mytheme.yaml +++ b/themes/mytheme/mytheme.yaml @@ -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 diff --git a/themes/mytheme/templates/README.html.twig b/themes/mytheme/templates/README.html.twig index 7c32015f2..4af88d59b 100644 --- a/themes/mytheme/templates/README.html.twig +++ b/themes/mytheme/templates/README.html.twig @@ -52,15 +52,6 @@ {{ taglist|join(', ') }} {% endif %} - {% if page.taxonomy.category|length > 0 %} - {% set categorylist = [] %} - {% for category in page.taxonomy.category %} - {% set categorylist = categorylist|merge([''~category~'']) %} - {% endfor %} -
- {{ categorylist|join(', ') }} -
- {% endif %} {% if theme_var('display_of_git_sync_repo_link') == 'page' and not (grav.uri.param('summaryonly') or grav.uri.param('onlysummary')) %}
{% include 'partials/git_sync_repo_link_note.html.twig' %} {% endif %}