summaryrefslogtreecommitdiff
path: root/templates/page.tmpl
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/page.tmpl
parentf552d7572f155ea88a128334fc4d49654ae5d294 (diff)
Add support for the universal edit button
<http://universaleditbutton.org/> Not forcing a rebuild on upgrade just for this.
Diffstat (limited to 'templates/page.tmpl')
-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>