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 %}