Added an option to hide sages

This commit is contained in:
kaf committed 2014-10-05 15:29:37 +00:00
1 parent cb7b7d070c
commit 296e4fd5fa
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
{% set capcode = post.capcode|capcode %}
{% if post.email|length > 0 %}
{% if post.email|length > 0 and (config.hide_sage!=true or post.email!='sage') %}
{# start email #}
<a class="email" href="mailto:{{ post.email }}">
{% endif %}