summaryrefslogtreecommitdiff
path: root/templates/rsspage.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/rsspage.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/rsspage.tmpl')
-rw-r--r--templates/rsspage.tmpl18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/rsspage.tmpl b/templates/rsspage.tmpl
new file mode 100644
index 0000000..d07ecef
--- /dev/null
+++ b/templates/rsspage.tmpl
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<rss version="2.0"
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:dcterms="http://purl.org/dc/terms/"
+ xmlns:atom="http://www.w3.org/2005/Atom">
+<channel>
+<title><TMPL_VAR TITLE></title>
+<link><TMPL_VAR PAGEURL></link>
+<atom:link href="<TMPL_VAR FEEDURL>" rel="self" type="application/rss+xml"/>
+<TMPL_IF COPYRIGHT>
+<copyright><TMPL_VAR COPYRIGHT ESCAPE=HTML></copyright>
+</TMPL_IF>
+<description><TMPL_VAR FEEDDESC ESCAPE=HTML></description>
+<generator>ikiwiki</generator>
+<pubDate><TMPL_VAR FEEDDATE_822></pubDate>
+<TMPL_VAR CONTENT>
+</channel>
+</rss>