aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDani Sancas2023-01-07 14:45:23 +0100
committerGitHub2023-01-07 14:45:23 +0100
commitcf3ddee4fdc2df004cdcce842188c1dcef5fc128 (patch)
tree513e193fe5728c642550905b077ddef3829ff399 /templates
parent5281b8bf0a5dfec8460f54e0d0d06ecd4e285e0a (diff)
downloadabridge-cf3ddee4fdc2df004cdcce842188c1dcef5fc128.tar.gz
abridge-cf3ddee4fdc2df004cdcce842188c1dcef5fc128.tar.bz2
abridge-cf3ddee4fdc2df004cdcce842188c1dcef5fc128.zip
Add automatic rel="me" to Mastodon social link
According to the official documentation https://docs.joinmastodon.org/user/profile/#verification this is the simplest way to verify an account on Mastodon instances.
Diffstat (limited to 'templates')
-rw-r--r--templates/macros/social.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/macros/social.html b/templates/macros/social.html
index 52fb6ff..a5a69a0 100644
--- a/templates/macros/social.html
+++ b/templates/macros/social.html
@@ -13,7 +13,7 @@
{%- endif -%}
{% endif -%}
{%- if social_config.mastodon -%}
- <li><a href="{{ social_config.mastodon }}/" target="_blank" title="Mastodon"><i type="Button" class="svg mastodon" title="Mastodon"></i></a></li>{% endif -%}
+ <li><a href="{{ social_config.mastodon }}/" target="_blank" title="Mastodon" rel="me"><i type="Button" class="svg mastodon" title="Mastodon"></i></a></li>{% endif -%}
{%- if social_config.element -%}
<li><a href="https://{{ social_config.element }}/" target="_blank" title="Element"><i type="Button" class="svg element" title="Element"></i></a></li>{% endif -%}
{%- if social_config.matrix -%}