aboutsummaryrefslogtreecommitdiff
path: root/templates/archivepage.tmpl
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-05 21:08:41 -0400
committerJoey Hess <joey@kitenet.net>2010-05-05 21:10:40 -0400
commitf52f395437a946478da2a126015c05e3e0afdc1f (patch)
treef98f451642691cc9d6aef6a0a7e524347eb7c72e /templates/archivepage.tmpl
parent11937595687df86aa93502d2e895f747a6262c4c (diff)
downloadikiwiki-f52f395437a946478da2a126015c05e3e0afdc1f.tar
ikiwiki-f52f395437a946478da2a126015c05e3e0afdc1f.tar.gz
consistently drop NAME= in templates
also add template syntax smoke test
Diffstat (limited to 'templates/archivepage.tmpl')
-rw-r--r--templates/archivepage.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/archivepage.tmpl b/templates/archivepage.tmpl
index 28800e763..93bdd9ce0 100644
--- a/templates/archivepage.tmpl
+++ b/templates/archivepage.tmpl
@@ -1,14 +1,14 @@
<p>
-<TMPL_IF NAME="PERMALINK">
+<TMPL_IF PERMALINK>
<a href="<TMPL_VAR PERMALINK>"><TMPL_VAR TITLE></a><br />
<TMPL_ELSE>
<a href="<TMPL_VAR PAGEURL>"><TMPL_VAR TITLE></a><br />
</TMPL_IF>
<i>
Posted <TMPL_VAR CTIME>
-<TMPL_IF NAME="AUTHOR">
+<TMPL_IF AUTHOR>
by <span class="author">
-<TMPL_IF NAME="AUTHORURL">
+<TMPL_IF AUTHORURL>
<a href="<TMPL_VAR AUTHORURL>"><TMPL_VAR AUTHOR></a>
<TMPL_ELSE>
<TMPL_VAR AUTHOR>