Gallery-Archivist/archivist/apps/templates/sites/partials/site-btn-overlay.html

12 lines
285 B
HTML
Raw Normal View History

2024-04-23 20:48:29 +02:00
{% load static %}
<a class="site-btn-overlay" href='{{ category }}'>
{% if category == "twitter" %}
<img src='{% static "/img/site-logos/twitter_logo.png" %}' alt="{{ category }}"/>
{% else %}
<small>{{ category|capfirst }}</small>
{% endif %}
</a>