aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-06-21 16:56:47 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-06-21 16:56:47 -0400
commit50542d15ef4bc3c86e215de85b0a0a3c01f3e47f (patch)
treef154b6360490243be20eef82168868586cf4e5a6 /templates
parentf552d7572f155ea88a128334fc4d49654ae5d294 (diff)
downloadikiwiki-50542d15ef4bc3c86e215de85b0a0a3c01f3e47f.tar
ikiwiki-50542d15ef4bc3c86e215de85b0a0a3c01f3e47f.tar.gz
Add support for the universal edit button
<http://universaleditbutton.org/> Not forcing a rebuild on upgrade just for this.
Diffstat (limited to 'templates')
-rw-r--r--templates/page.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl
index b903adb19..166f3c560 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -9,6 +9,9 @@
</TMPL_IF>
<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
+<TMPL_IF NAME="EDITURL">
+<link rel="alternate" type="application/x-wiki" title="Edit this page" href="<TMPL_VAR EDITURL>" />
+</TMPL_IF>
<TMPL_IF NAME="FEEDLINKS"><TMPL_VAR FEEDLINKS></TMPL_IF>
<TMPL_IF NAME="META"><TMPL_VAR META></TMPL_IF>
</head>