blob: dda420c073abfad13e87932d3ff401dd98495dcb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0">
<id>{{ .Site.Other.Url }}</id>
<title>{{ .Site.Other.Title }}</title>
{{ with .Site.Pages.Children "notes/" }}
<updated>{{ .First.Date.Format "2006-01-02T15:04:05Z07:00" }}</updated>
{{ end }}
<author><name>{{ .Site.Other.Author }}</name></author>
<link href="{{ .Site.Other.Url }}" rel="alternate"></link>
<generator uri="https://github.com/piranha/gostatic">gostatic</generator>
{{ with .Site.Pages.Children "notes/" }}
{{ range .Slice 0 5 }}
<entry>
<id>{{ .Url }}</id>
<author><name>{{ or .Other.Author .Site.Other.Author }}</name></author>
<title type="html">{{ html .Title }}</title>
<published>{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</published>
{{ range .Tags }}
<category term="{{ . }}"></category>
{{ end }}
<link href="{{ .Site.Other.Url }}/{{ .Url }}" rel="alternate"></link>
<content type="html">
{{/* .Process runs here in case only feed changed */}}
{{ with cut "<section>" "</section>" .Process.Content }}
{{ html . }}
{{ end }}
</content>
</entry>
{{ end }}
{{ end }}
{{ with .Site.Pages.Children "experiments/" }}
{{ range .Slice 0 5 }}
<entry>
<id>{{ .Url }}</id>
<author><name>{{ or .Other.Author .Site.Other.Author }}</name></author>
<title type="html">{{ html .Title }}</title>
<published>{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}</published>
{{ range .Tags }}
<category term="{{ . }}"></category>
{{ end }}
<link href="{{ .Site.Other.Url }}/{{ .Url }}" rel="alternate"></link>
<content type="html">
{{/* .Process runs here in case only feed changed */}}
{{ with cut "<section>" "</section>" .Process.Content }}
{{ html . }}
{{ end }}
</content>
</entry>
{{ end }}
{{ end }}
</feed>
|