From cf9c4d8f3592eeff737912e76fc8ed29cf591f65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nu=C5=A1a=20Puk=C5=A1i=C4=8D?= Date: Thu, 9 Oct 2025 20:35:35 +0200 Subject: [PATCH] Info --- templates/event/index.html.twig | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/templates/event/index.html.twig b/templates/event/index.html.twig index 4cd8012..6302514 100644 --- a/templates/event/index.html.twig +++ b/templates/event/index.html.twig @@ -81,10 +81,17 @@ {% endblock %} {% block body %} + {# Title from tags #} + {% set title = 'Untitled' %} + {% for tag in event.tags %} + {% if tag[0] == 'title' %} + {% set title = tag[1] %} + {% endif %} + {% endfor %}
-

{{ event.title ?? 'Untitled' }}

+

{{ title }}

{% if author %}
-
-

This is a work in progress. If your event didn't render right, we apologize. Working on it!

-
+
+
+

This is a work in progress. If your event didn't render right, we apologize. Working on it!

+
+
{% if nostrLinks is defined and nostrLinks|length > 0 %}