|
|
|
@ -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 %} |