diff --git a/themes/mytheme/mytheme.yaml b/themes/mytheme/mytheme.yaml index 53e11949..8763283e 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 7c32015f..4af88d59 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 %} -