Add missing permalink support to archivepage and titlepage templates.

master
Joey Hess 2009-04-10 18:02:03 -04:00
parent 808cba50d2
commit 98ae0fb92c
3 changed files with 12 additions and 1 deletions

1
debian/changelog vendored
View File

@ -9,6 +9,7 @@ ikiwiki (3.10) UNRELEASED; urgency=low
- Petr Ročkai fixed rcs_recentchanges.
- Sven M. Hallberg merged the above and added missing features.
* Add missing newline to Confirm Password prompt.
* Add missing permalink support to archivepage and titlepage templates.
-- Joey Hess <joeyh@debian.org> Sat, 04 Apr 2009 17:47:36 -0400

View File

@ -1,5 +1,9 @@
<p>
<TMPL_IF NAME="PERMALINK">
<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
<TMPL_ELSE>
<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a><br />
</TMPL_IF>
<i>
Posted <TMPL_VAR CTIME>
</i>

View File

@ -1 +1,7 @@
<p><a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a></p>
<p>
<TMPL_IF NAME="PERMALINK">
<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a>
<TMPL_ELSE>
<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a>
</TMPL_IF>
</p>