Rename file

pull/11/head
beucismis 1 year ago
parent d8c1b78f08
commit 5e9e987726
  1. 16
      ozgursozluk/templates/macros.html

@ -35,3 +35,19 @@
</div>
</div>
{% endmacro %}
{% macro render_gundem(topic) %}
<a href="{{ url_for('topic', path=topic.path, a='popular') }}" class="entry">
<div style="display: flex; justify-content: space-between;">
<div>
{{ topic.title }}
</div>
<div>
{% if topic.pinned %}<small style="opacity: 0.5;">pinned</small>{% endif %}
{% if topic.entry_count %}
<small style="opacity: 0.5;">{{ topic.entry_count }}</small>
{% endif %}
</div>
</div>
</a>
{% endmacro %}
Loading…
Cancel
Save