From 3ce41d99d688410a361d83767b50b64a35b569d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Mon, 27 Oct 2025 17:21:41 +0100 Subject: feat(sections): general rss feed --- backend/templates/base.html | 2 +- backend/templates/rss.xml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'backend/templates') diff --git a/backend/templates/base.html b/backend/templates/base.html index 0a54096..436a1c2 100644 --- a/backend/templates/base.html +++ b/backend/templates/base.html @@ -1,5 +1,5 @@ - + diff --git a/backend/templates/rss.xml b/backend/templates/rss.xml index 2abca8e..039a2f7 100644 --- a/backend/templates/rss.xml +++ b/backend/templates/rss.xml @@ -4,16 +4,16 @@ {{ .Title }} {{ $sec := first .Sections }} - {{ $uri := $sec.URI }} - https://{{ .Domain }}/{{ $uri }}/ + {{ $uri := uri $sec.URI }} + https://{{ .Domain }}/{{ $uri }} {{ .PageDescription }} - fr-fr + {{ .Language }} {{ $domain := .Domain }} {{ range $sec.Data }} {{ .DataTitle }} - https://{{ $domain }}/{{ $uri }}/{{ .Slug }} - https://{{ $domain }}/{{ $uri }}/{{ .Slug }} + https://{{ $domain }}/{{ $uri }}{{ .Slug }} + https://{{ $domain }}/{{ $uri }}{{ .Slug }} {{ .Description }} {{ .PubDateRSS }} -- cgit v1.2.3