summaryrefslogtreecommitdiff
path: root/templates/post/name.html
diff options
context:
space:
mode:
authorMarcin Łabanowski <marcin@6irc.net>2014-10-05 17:53:32 +0200
committerMarcin Łabanowski <marcin@6irc.net>2014-10-05 17:53:32 +0200
commitd01d892896022b1eb81a73fb6c4e6ad180444fdb (patch)
treecd673f7bee8dc58855b47d628de1d43b1d617fb4 /templates/post/name.html
parent42868c672a6f89e0b66fc6341c5652fbcd6e6dab (diff)
parent296e4fd5fa2510623a9680df4fa37ddf0bd6485a (diff)
Merge pull request #100 from cable6-dev/feature-hide-sage
Added an option to hide sages
Diffstat (limited to 'templates/post/name.html')
-rw-r--r--templates/post/name.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/post/name.html b/templates/post/name.html
index 009b234d..13c676c7 100644
--- a/templates/post/name.html
+++ b/templates/post/name.html
@@ -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 %}