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

11 lines
285 B
HTML

{% 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>