From f1e008670cd865520eb5f21fe6e7b56f02076a23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Mon, 27 Oct 2025 13:32:39 +0100 Subject: feat(config): supports multiple sections --- backend/templates/rss.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'backend/templates/rss.xml') 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 @@ {{ .Title }} - https://{{ .Domain }}/logs/ + https://{{ .Domain }}/{{ .URI }}/ {{ .PageDescription }} fr-fr {{ $domain := .Domain }} - {{ range .Logs }} + {{ range .Section.Data }} - {{ .LogTitle }} - https://{{ $domain }}/logs/{{ .Slug }} - https://{{ $domain }}/logs/{{ .Slug }} + {{ .DataTitle }} + https://{{ $domain }}/{{ .URI }}/{{ .Slug }} + https://{{ $domain }}/{{ .URI }}/{{ .Slug }} {{ .Description }} {{ .PubDateRSS }} {{ end }} - \ No newline at end of file + -- cgit v1.2.3