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