From 5e9e9877260c83ed8dec14d4cc89bbddbe34562d Mon Sep 17 00:00:00 2001 From: beucismis Date: Mon, 12 Jun 2023 13:54:09 +0300 Subject: [PATCH] Rename file --- .../templates/{entry_macro.html => macros.html} | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) rename ozgursozluk/templates/{entry_macro.html => macros.html} (72%) diff --git a/ozgursozluk/templates/entry_macro.html b/ozgursozluk/templates/macros.html similarity index 72% rename from ozgursozluk/templates/entry_macro.html rename to ozgursozluk/templates/macros.html index b26b6e0..6ee606f 100644 --- a/ozgursozluk/templates/entry_macro.html +++ b/ozgursozluk/templates/macros.html @@ -35,3 +35,19 @@ {% endmacro %} + +{% macro render_gundem(topic) %} + +
+
+ {{ topic.title }} +
+
+ {% if topic.pinned %}pinned{% endif %} + {% if topic.entry_count %} + {{ topic.entry_count }} + {% endif %} +
+
+
+{% endmacro %} \ No newline at end of file