aboutsummaryrefslogtreecommitdiff
path: root/templates/feed.xml
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2024-03-10 16:14:27 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2024-03-10 16:14:27 +0100
commit8bee5baf5a1a247a67c5a340778837e26bfffabe (patch)
treecf1bd875b4f05b933c9712d87a1c486e65c4646f /templates/feed.xml
parent1f58fd44a4cfaaac59c2a9c0104905c04168c238 (diff)
downloadmitjafelicijan.com-8bee5baf5a1a247a67c5a340778837e26bfffabe.tar.gz
Fixed indentations
Diffstat (limited to 'templates/feed.xml')
-rwxr-xr-xtemplates/feed.xml30
1 files changed, 15 insertions, 15 deletions
diff --git a/templates/feed.xml b/templates/feed.xml
index 97106d9..ce6ca07 100755
--- a/templates/feed.xml
+++ b/templates/feed.xml
@@ -1,23 +1,23 @@
1<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"> 1<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
2 <channel> 2 <channel>
3 <title>{{ .Config.Title }}'s posts</title> 3 <title>{{ .Config.Title }}'s posts</title>
4 <link>{{ .Config.BaseURL }}</link> 4 <link>{{ .Config.BaseURL }}</link>
5 <description>{{ .Config.Description }}</description> 5 <description>{{ .Config.Description }}</description>
6 <language>{{ .Config.Language }}</language> 6 <language>{{ .Config.Language }}</language>
7 7
8 {{ range $idx, $page := .Pages }} 8 {{ range $idx, $page := .Pages }}
9 {{ if or (eq $page.Type "post") (eq $page.Type "note") }} 9 {{ if or (eq $page.Type "post") (eq $page.Type "note") }}
10 {{ if not .Draft }} 10 {{ if not .Draft }}
11 <item> 11 <item>
12 <title>{{ $page.Title }}</title> 12 <title>{{ $page.Title }}</title>
13 <link>{{ $.Config.BaseURL }}/{{ $page.RelPermalink }}</link> 13 <link>{{ $.Config.BaseURL }}/{{ $page.RelPermalink }}</link>
14 <pubDate>{{ $page.Created.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</pubDate> 14 <pubDate>{{ $page.Created.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</pubDate>
15 <guid>{{ $.Config.BaseURL }}/{{ $page.RelPermalink }}</guid> 15 <guid>{{ $.Config.BaseURL }}/{{ $page.RelPermalink }}</guid>
16 <description>{{ $page.Summary }}</description> 16 <description>{{ $page.Summary }}</description>
17 <content:encoded>{{ $page.Raw }}</content:encoded> 17 <content:encoded>{{ $page.Raw }}</content:encoded>
18 </item> 18 </item>
19 {{ end }} 19 {{ end }}
20 {{ end }} 20 {{ end }}
21 {{ end }} 21 {{ end }}
22 </channel> 22 </channel>
23</rss> 23</rss>