summaryrefslogtreecommitdiff
path: root/templates/feedlink.tmpl
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-07-24 10:46:30 +0300
committerLars Wirzenius <liw@liw.fi>2021-07-24 10:46:30 +0300
commita9fb6e85eae3cf5e5cd0a49233f49b7ecc8133c6 (patch)
treeb2c8cd5f97b0bfda7de13cf3a0c39dde376d87f6 /templates/feedlink.tmpl
parentf7079d9800822112eba01239789c3092b16b976d (diff)
downloadewww.liw.fi-a9fb6e85eae3cf5e5cd0a49233f49b7ecc8133c6.tar.gz
add styling from ikiwiki-style
Sponsored-by: author
Diffstat (limited to 'templates/feedlink.tmpl')
-rw-r--r--templates/feedlink.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/feedlink.tmpl b/templates/feedlink.tmpl
new file mode 100644
index 0000000..c67ad9c
--- /dev/null
+++ b/templates/feedlink.tmpl
@@ -0,0 +1,8 @@
+<div <TMPL_IF ID>id="<TMPL_VAR ID ESCAPE=HTML>"</TMPL_IF> class="feedlink">
+<TMPL_IF RSSURL>
+<a class="feedbutton" type="application/rss+xml" rel="alternate" title="<TMPL_VAR RSSDESC>" href="<TMPL_VAR RSSURL>">RSS</a>
+</TMPL_IF>
+<TMPL_IF ATOMURL>
+<a class="feedbutton" type="application/atom+xml" rel="alternate" title="<TMPL_VAR ATOMDESC>" href="<TMPL_VAR ATOMURL>">Atom</a>
+</TMPL_IF>
+</div>