diff options
author | Joey Hess <joey@kitenet.net> | 2010-05-05 21:08:41 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-05-05 21:10:40 -0400 |
commit | f52f395437a946478da2a126015c05e3e0afdc1f (patch) | |
tree | f98f451642691cc9d6aef6a0a7e524347eb7c72e /templates/blogpost.tmpl | |
parent | 11937595687df86aa93502d2e895f747a6262c4c (diff) | |
download | ikiwiki-f52f395437a946478da2a126015c05e3e0afdc1f.tar ikiwiki-f52f395437a946478da2a126015c05e3e0afdc1f.tar.gz |
consistently drop NAME= in templates
also add template syntax smoke test
Diffstat (limited to 'templates/blogpost.tmpl')
-rw-r--r-- | templates/blogpost.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/blogpost.tmpl b/templates/blogpost.tmpl index 7eeede603..5a31e3f8a 100644 --- a/templates/blogpost.tmpl +++ b/templates/blogpost.tmpl @@ -1,10 +1,10 @@ <form action="<TMPL_VAR CGIURL>" method="get"> <div id="blogform"> -<TMPL_IF NAME="RSSURL"> -<a class="feedbutton" type="application/rss+xml" href="<TMPL_VAR NAME=RSSURL>">RSS</a> +<TMPL_IF RSSURL> +<a class="feedbutton" type="application/rss+xml" href="<TMPL_VAR RSSURL>">RSS</a> </TMPL_IF> -<TMPL_IF NAME="ATOMURL"> -<a class="feedbutton" type="application/atom+xml" href="<TMPL_VAR NAME=ATOMURL>">Atom</a> +<TMPL_IF ATOMURL> +<a class="feedbutton" type="application/atom+xml" href="<TMPL_VAR ATOMURL>">Atom</a> </TMPL_IF> <input type="hidden" name="do" value="blog" /> <input type="hidden" name="from" value="<TMPL_VAR ROOTPAGE>" /> |