Gallery-Archivist/archivist/apps/templates/sites/partials/site-btn-overlay.html
2024-05-12 21:17:11 +02:00

15 lines
439 B
HTML

{% load static %}
<a class="site-btn-overlay" href='{% url "sites:site_overview" category %}'>
{% if category == "twitter" %}
<img src='{% static "/img/site-logos/twitter_logo.png" %}' alt="{{ category }}"/>
{% elif category == "furaffinity" %}
<img src='{% static "/img/site-logos/fa_logo.png" %}' alt="{{ category }}"/>
{% else %}
<small>{{ category|capfirst }}</small>
{% endif %}
</a>