diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-06-21 16:56:47 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-06-21 16:56:47 -0400 |
commit | 50542d15ef4bc3c86e215de85b0a0a3c01f3e47f (patch) | |
tree | f154b6360490243be20eef82168868586cf4e5a6 | |
parent | f552d7572f155ea88a128334fc4d49654ae5d294 (diff) |
Add support for the universal edit button
<http://universaleditbutton.org/>
Not forcing a rebuild on upgrade just for this.
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | templates/page.tmpl | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index bb501b9d8..251761633 100644 --- a/debian/changelog +++ b/debian/changelog @@ -17,6 +17,8 @@ ikiwiki (2.51) UNRELEASED; urgency=low Closes: #486592 * creole: New plugin from Bernd Zeimetz. Closes: #486930 * aggregate: Add template parameter. + * Add support for the universal edit button <http://universaleditbutton.org/> + (To get this on all pages of an exiting wiki, rebuild the wiki.) -- Joey Hess <joeyh@debian.org> Sun, 15 Jun 2008 15:03:33 -0400 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> |