diff --git a/themes/mytheme/mytheme.yaml b/themes/mytheme/mytheme.yaml index 53e1194980..8763283e82 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 7c32015f20..4af88d59bd 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 %}