Add: Site icon overlay on gallery
This commit is contained in:
parent
883da86b82
commit
44f924a817
2 changed files with 39 additions and 0 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue