Add: Site icon overlay on gallery

This commit is contained in:
Aroy-Art 2024-04-23 20:48:29 +02:00
parent 883da86b82
commit 44f924a817
Signed by: Aroy
GPG key ID: DB9689E9391DD156
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,11 @@
{% 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>