diff --git a/templates/main/index.html.twig b/templates/main/index.html.twig index 93c4c43..0803739 100644 --- a/templates/main/index.html.twig +++ b/templates/main/index.html.twig @@ -27,11 +27,19 @@ {{ _self.render_tree(tree) }}
- {% if contents is not null %} - {{ contents|markdown_to_html }} - {% else %} - Empty - {% endif %} + {% if contents is not null %} + {{ contents|markdown_to_html }} + {% else %} + Empty + {% endif %} + {% if metadata.tags is defined %} +
+
tags:
+ {% for tag in metadata.tags|default([]) %} +
{{ tag }}
+ {% endfor %} +
+ {% endif %}