aboutsummaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2023-12-01 21:43:39 +0100
committerDaniel Schadt <kingdread@gmx.de>2023-12-01 21:47:38 +0100
commit0405f45b82dfe8c46b5904783e601167189f260e (patch)
treeb82b0eb5a75c7bbb50dfbb3f03666de038bfbed5 /templates/base.html
parentb8e87564a4f09215a923650272a6ccfa7811ef42 (diff)
downloadmoeka-0405f45b82dfe8c46b5904783e601167189f260e.tar.gz
moeka-0405f45b82dfe8c46b5904783e601167189f260e.tar.bz2
moeka-0405f45b82dfe8c46b5904783e601167189f260e.zip
slightly adjust Mastodon icon positioning
Diffstat (limited to 'templates/base.html')
-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>