aboutsummaryrefslogtreecommitdiff
path: root/templates/macros/social.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/macros/social.html')
-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 36be051..67e05a3 100644
--- a/templates/macros/social.html
+++ b/templates/macros/social.html
@@ -5,7 +5,7 @@
{%- if config.generate_feed -%}{%- if config.extra.social.feed -%}
<li><a href="{{ get_url(path=config.feed_filename, trailing_slash=false) | safe }}" target="_blank" title="Atom/RSS Feed"><i type="Button" class="svg rss" title="Atom/RSS Feed"></i></a></li>{% endif -%}{% endif -%}
{%- if social_config.mail -%}
- {%- if social_config.mail_encode -%}
+ {%- if social_config.mail_encode | default(value=true) -%}
{%- set base64_email = social_config.mail -%}
<li class="js"><a class="m-protected" href="#{{ base64_email | base64_encode }}" target="_blank" title="Mail"><i type="Button" class="svg mail" title="Mail"></i></a></li>
{%- else -%}