summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2015-05-31 21:49:14 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2015-05-31 21:49:14 +0200
commitb8945e5763f5c9e18855d8575ea51f697464963b (patch)
treea7ddd1db633af04888b4f4328461f45377b2b311 /templates
parent07a770b415ca1f8532ab1c58387e1ff42799249f (diff)
Remove edit link from headers for the website.
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index e9f8673..0dd0fd1 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -15,9 +15,9 @@
<TMPL_IF FAVICON>
<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
</TMPL_IF>
- <TMPL_IF EDITURL>
+ <TMPL_UNLESS ISWEBSITE><TMPL_IF EDITURL>
<link rel="alternate" type="application/x-wiki" title="Edit this page" href="<TMPL_VAR EDITURL>" />
- </TMPL_IF>
+ </TMPL_IF></TMPL_UNLESS>
<TMPL_IF FEEDLINKS><TMPL_VAR FEEDLINKS></TMPL_IF>
<TMPL_IF RELVCS><TMPL_VAR RELVCS></TMPL_IF>
<TMPL_IF META><TMPL_VAR META></TMPL_IF>