diff --git a/templates/event/_kind10015_tags.html.twig b/templates/event/_kind10015_tags.html.twig new file mode 100644 index 0000000..1fe6383 --- /dev/null +++ b/templates/event/_kind10015_tags.html.twig @@ -0,0 +1,17 @@ +{% set tags = [] %} +{% for tag in event.tags %} + {% if tag[0] == 't' %} + {% set tags = tags|merge([tag[1]]) %} + {% endif %} +{% endfor %} + +{% if tags %} +
+

Interests

+
+ {% for tag in tags %} + {{ tag }} + {% endfor %} +
+
+{% endif %} diff --git a/templates/event/index.html.twig b/templates/event/index.html.twig index f776b0f..3f3fb31 100644 --- a/templates/event/index.html.twig +++ b/templates/event/index.html.twig @@ -115,6 +115,8 @@ {% include 'event/_kind22_video.html.twig' %} {% elseif event.kind == 1450 %} {% include 'event/_kind1450_tabular.html.twig' %} + {% elseif event.kind == 10015 %} + {% include 'event/_kind10015_tags.html.twig' %} {% else %} {# Regular event content for non-picture and non-video events #}
@@ -178,4 +180,3 @@
{% endblock %} -