update hashtag display

main
Dominik Madarász 2023-01-11 23:30:30 +00:00
parent d3486d6927
commit 5cd6a5c7a8
1 changed files with 2 additions and 0 deletions

View File

@ -10,11 +10,13 @@
<div class="p-note summary"> <div class="p-note summary">
{{ local_actor.summary | safe }} {{ local_actor.summary | safe }}
{% if TAGS %} {% if TAGS %}
<nav class="flexbox">
<ul> <ul>
{% for tag in TAGS %} {% for tag in TAGS %}
<li><a href="{{BASE_URL}}/t/{{tag}}" {% if request.url.path == "/t/{{tag}}" %}class="active"{% endif %}>#{{tag}}</a></li> <li><a href="{{BASE_URL}}/t/{{tag}}" {% if request.url.path == "/t/{{tag}}" %}class="active"{% endif %}>#{{tag}}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
</nav>
{% endif %} {% endif %}
</div> </div>