diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/blogpost.tmpl | 3 | ||||
-rw-r--r-- | templates/page.tmpl | 3 | ||||
-rw-r--r-- | templates/rsslink.tmpl | 5 |
3 files changed, 8 insertions, 3 deletions
diff --git a/templates/blogpost.tmpl b/templates/blogpost.tmpl index 22253d60b..1b93adc14 100644 --- a/templates/blogpost.tmpl +++ b/templates/blogpost.tmpl @@ -1,5 +1,8 @@ <form action="<TMPL_VAR CGIURL>" method="get"> <div id="blogform"> +<TMPL_IF NAME="RSSURL"> +<a class="rssbutton" type="application/rss+xml" href="<TMPL_VAR NAME=RSSURL>">RSS</a> +</TMPL_IF> <input type="hidden" name="do" value="blog" /> <input type="hidden" name="from" value="<TMPL_VAR ROOTPAGE>" /> <input type="hidden" name="subpage" value="1" /> diff --git a/templates/page.tmpl b/templates/page.tmpl index c9ec2a34f..4dc8e1139 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -67,9 +67,6 @@ Links: <!-- from <TMPL_VAR NAME=WIKINAME> --> Last edited <TMPL_VAR NAME=MTIME> </span> -<TMPL_IF NAME="RSSURL"> -<a class="rssbutton" type="application/rss+xml" href="<TMPL_VAR NAME=RSSURL>">RSS</a> -</TMPL_IF> </div> </body> diff --git a/templates/rsslink.tmpl b/templates/rsslink.tmpl new file mode 100644 index 000000000..f70c959d6 --- /dev/null +++ b/templates/rsslink.tmpl @@ -0,0 +1,5 @@ +<div id="rsslink"> +<TMPL_IF NAME="RSSURL"> +<a class="rssbutton" type="application/rss+xml" href="<TMPL_VAR NAME=RSSURL>">RSS</a> +</TMPL_IF> +</div> |