summaryrefslogtreecommitdiff
path: root/templates/feedlink.tmpl
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-08-05 20:28:53 +0300
committerLars Wirzenius <liw@liw.fi>2021-08-10 10:32:54 +0000
commit758be23ab231a4d9d3d86eb0480712d24439e0ee (patch)
tree40c80387a9ded3d5748961731b7515ba81c81e12 /templates/feedlink.tmpl
parente70ca1846001111a4ff3a668968b60eb98a1ff6b (diff)
downloadsubplot.liw.fi-758be23ab231a4d9d3d86eb0480712d24439e0ee.tar.gz
style: add new page templates
These are more to my liking. 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>