From 16307087144fe0fa943dc30db804f3c6921077bd Mon Sep 17 00:00:00 2001 From: Daniel Hladek Date: Sat, 3 Oct 2020 10:02:04 +0200 Subject: [PATCH] zz --- themes/mytheme/templates/README.html.twig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/themes/mytheme/templates/README.html.twig b/themes/mytheme/templates/README.html.twig index 4af88d59..73043dfb 100644 --- a/themes/mytheme/templates/README.html.twig +++ b/themes/mytheme/templates/README.html.twig @@ -52,6 +52,15 @@ {{ 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 %}