diff options
Diffstat (limited to 'backend/templates/rss.xml')
| -rw-r--r-- | backend/templates/rss.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backend/templates/rss.xml b/backend/templates/rss.xml index c8390da..6d99272 100644 --- a/backend/templates/rss.xml +++ b/backend/templates/rss.xml @@ -3,18 +3,18 @@ <channel> <atom:link href="https://{{ .Domain }}{{ .URL }}" rel="self" type="application/rss+xml" /> <title>{{ .Title }}</title> - <link>https://{{ .Domain }}/logs/</link> + <link>https://{{ .Domain }}/{{ .URI }}/</link> <description>{{ .PageDescription }}</description> <language>fr-fr</language> {{ $domain := .Domain }} - {{ range .Logs }} + {{ range .Section.Data }} <item> - <title>{{ .LogTitle }}</title> - <link>https://{{ $domain }}/logs/{{ .Slug }}</link> - <guid>https://{{ $domain }}/logs/{{ .Slug }}</guid> + <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>
\ No newline at end of file +</rss> |
