aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/base.html b/templates/base.html
index b03f89c..e88aa26 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -4,9 +4,9 @@
{% endif %}
{% endmacro -%}
-{%- macro logo(name) -%}
+{%- macro logo(name, extra_class="") -%}
<div class="social-icon">
- <img class="social-icon" src="{{ SITEURL }}/theme/images/logos/{{ name }}" alt="Logo {{ name }}">
+ <img class="social-icon{% if extra_class %} {{ extra_class }}{% endif %}" src="{{ SITEURL }}/theme/images/logos/{{ name }}" alt="Logo {{ name }}">
</div>
{%- endmacro -%}
@@ -112,7 +112,7 @@
{% endif %}
{% if MASTODON %}
- <a href="{{ MASTODON }}" target="_blank">{{ logo("Mastodon.svg") }}</a>
+ <a href="{{ MASTODON }}" target="_blank">{{ logo("Mastodon.svg", "mastodon-icon") }}</a>
{% endif %}
</div>