aboutsummaryrefslogtreecommitdiff
path: root/templates/macros/social.html
diff options
context:
space:
mode:
authorJieiku2023-05-22 22:31:34 -0700
committerJieiku2023-05-22 22:31:34 -0700
commit940b40688a7cf595eee061b696187e2fe4a578e2 (patch)
tree15f9ef4ea0170d61c263c26c32f13398a2ec348a /templates/macros/social.html
parent5c3cc8966834a0d140f82aa178ba26109f79dd8f (diff)
downloadabridge-940b40688a7cf595eee061b696187e2fe4a578e2.tar.gz
abridge-940b40688a7cf595eee061b696187e2fe4a578e2.tar.bz2
abridge-940b40688a7cf595eee061b696187e2fe4a578e2.zip
Json-Index and config.toml optional
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 -%}