From c070f95006c863ee03578a028105b89a85585de6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nu=C5=A1a=20Puk=C5=A1i=C4=8D?= Date: Sat, 27 Sep 2025 17:30:50 +0200 Subject: [PATCH] Author pages --- src/Service/NostrClient.php | 1 + templates/pages/author.html.twig | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/Service/NostrClient.php b/src/Service/NostrClient.php index 88e3164..a352a34 100644 --- a/src/Service/NostrClient.php +++ b/src/Service/NostrClient.php @@ -512,6 +512,7 @@ class NostrClient $article = $this->articleFactory->createFromLongFormContentEvent($event); // Save each article to the database $this->saveEachArticleToTheDatabase($article); + return $article; // Return the article so it gets added to the results array }); } diff --git a/templates/pages/author.html.twig b/templates/pages/author.html.twig index 1deda54..3387ea9 100644 --- a/templates/pages/author.html.twig +++ b/templates/pages/author.html.twig @@ -63,7 +63,9 @@ {# {% endfor %}#} {# {% endif %}#} +
+
{% endblock %} {% block aside %}