aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake G2023-01-07 19:19:20 -0800
committerGitHub2023-01-07 19:19:20 -0800
commit698e6712314b82060be31cd1998b68f52fb11e56 (patch)
treeb5f0046142ff6877ffb9e9d1b9e917b536e4a438
parent328fa71265c1087fd17aa162d0eba69021441276 (diff)
parent1a2da5a2408caf08d08ede7d2563d99bdb0710e1 (diff)
downloadabridge-698e6712314b82060be31cd1998b68f52fb11e56.tar.gz
abridge-698e6712314b82060be31cd1998b68f52fb11e56.tar.bz2
abridge-698e6712314b82060be31cd1998b68f52fb11e56.zip
Merge pull request #100 from DaniSancas/patch-2
Use "safe" statement on social macro to avoid Mastodon URL formatting
-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 a5a69a0..556d515 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" rel="me"><i type="Button" class="svg mastodon" title="Mastodon"></i></a></li>{% endif -%}
+ <li><a href="{{ social_config.mastodon | safe }}/" 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 -%}