blob: 2abca8e14356db310d48455bee14247ab5eb3fb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="https://{{ .Domain }}{{ .URL }}" rel="self" type="application/rss+xml" />
<title>{{ .Title }}</title>
{{ $sec := first .Sections }}
{{ $uri := $sec.URI }}
<link>https://{{ .Domain }}/{{ $uri }}/</link>
<description>{{ .PageDescription }}</description>
<language>fr-fr</language>
{{ $domain := .Domain }}
{{ range $sec.Data }}
<item>
<title>{{ .DataTitle }}</title>
<link>https://{{ $domain }}/{{ $uri }}/{{ .Slug }}</link>
<guid>https://{{ $domain }}/{{ $uri }}/{{ .Slug }}</guid>
<description>{{ .Description }}</description>
<pubDate>{{ .PubDateRSS }}</pubDate>
</item>
{{ end }}
</channel>
</rss>
|