aboutsummaryrefslogtreecommitdiff
path: root/yapyap/template.xml
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2022-01-29 06:35:54 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2022-01-29 06:35:54 +0100
commit29231c17524aa55ff5915b207d1e697c709b7073 (patch)
tree7b0f4c949f0861c8a1e7565f0b7358b33fb74f7c /yapyap/template.xml
parentc843640f0f015c77dadb687b51b0f79696ecaa9b (diff)
downloadmitjafelicijan.com-29231c17524aa55ff5915b207d1e697c709b7073.tar.gz
Added YapYap
Diffstat (limited to 'yapyap/template.xml')
-rw-r--r--yapyap/template.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/yapyap/template.xml b/yapyap/template.xml
new file mode 100644
index 0000000..e90cabb
--- /dev/null
+++ b/yapyap/template.xml
@@ -0,0 +1,26 @@
1<?xml version="1.0" encoding="utf-8"?>
2<?xml-stylesheet type="text/xsl" href="theme.xsl"?>
3<rss version="2.0">
4 <channel>
5
6 <title>{{ .Feed.Author }}</title>
7 <link>{{ .Feed.Link }}</link>
8 <managingEditor>{{ .Feed.Email }} ({{ .Feed.Author }})</managingEditor>
9 <generator>YapYap</generator>
10
11 {{ range $i, $e := .Posts }}
12 <item>
13
14 <guid>aaa{{ $i }}</guid>
15 <description>{{ .Text }}</description>
16 <pubDate>{{ .Date }}</pubDate>
17
18 {{if .Image }}
19 <enclosure url="{{ .Image }}" type="image/jpeg" />
20 {{end}}
21
22 </item>
23 {{ end }}
24
25 </channel>
26</rss>