blob: 3af3d96c5fe44637a34acbe65801d2e574f11eb0 [file] [log] [blame]
Serge Bazanski49154252020-10-24 20:22:08 +02001<?xml version="1.0" encoding="utf-8"?>
2<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0">
3 <id>{{ .Site.Other.Url }}</id>
4 <title>{{ .Site.Other.Title }}</title>
5 {{ with .Site.Pages.Children "blog/" }}
6 <updated>{{ .First.Date.Format "2006-01-02T15:04:05Z07:00" }}</updated>
7 {{ end }}
8 <author><name>{{ .Site.Other.Author }}</name></author>
9 <link href="{{ .Site.Other.Url }}" rel="alternate"></link>
10 <generator uri="https://github.com/piranha/gostatic">gostatic</generator>
11
12{{ with .Site.Pages.Children "blog/" }}
13{{ range .Slice 0 5 }}
14<entry>
15 <id>{{ .Url }}</id>
16 <author><name>{{ or .Other.Author .Site.Other.Author }}</name></author>
17 <title type="html">{{ html .Title }}</title>
18 <published>{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</published>
19 {{ range .Tags }}
20 <category term="{{ . }}"></category>
21 {{ end }}
22 <link href="{{ .Site.Other.Url }}/{{ .Url }}" rel="alternate"></link>
23 <content type="html">
24 {{/* .Process runs here in case only feed changed */}}
25 {{ with cut "<section>" "</section>" .Process.Content }}
26 {{ html . }}
27 {{ end }}
28 </content>
29</entry>
30{{ end }}
31{{ end }}
32</feed>