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/feedlink.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/feedlink.tmpl')
-rw-r--r-- | templates/feedlink.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/feedlink.tmpl b/templates/feedlink.tmpl index 2963156c1..be8637f0f 100644 --- a/templates/feedlink.tmpl +++ b/templates/feedlink.tmpl @@ -1,8 +1,8 @@ <div id="feedlink"> -<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> </div> |