diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-10-08 23:57:37 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-10-08 23:57:37 +0000 |
commit | be55f6fd7cf1a251c3977f857a44ee2769e39d8b (patch) | |
tree | 36c09168ec20798e5fd5d1e0725cb8577d816928 /templates/feedlink.tmpl | |
parent | bf4e6716cc57eb6d0dfca43ce92b64934950513e (diff) | |
download | ikiwiki-be55f6fd7cf1a251c3977f857a44ee2769e39d8b.tar ikiwiki-be55f6fd7cf1a251c3977f857a44ee2769e39d8b.tar.gz |
* Atom feed support based on a patch by Clint Adams.
* Add feeds=no option to inline preprocessor directive to turn off all types
of feeds. feeds=rss will still work, and feeds=atom was also added, for
fine control.
* $IkiWiki::version now holds the program version, and is accessible to
plugins.
Diffstat (limited to 'templates/feedlink.tmpl')
-rw-r--r-- | templates/feedlink.tmpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/feedlink.tmpl b/templates/feedlink.tmpl new file mode 100644 index 000000000..2963156c1 --- /dev/null +++ b/templates/feedlink.tmpl @@ -0,0 +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> +<TMPL_IF NAME="ATOMURL"> +<a class="feedbutton" type="application/atom+xml" href="<TMPL_VAR NAME=ATOMURL>">Atom</a> +</TMPL_IF> +</div> |