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/section.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backend/section.go') diff --git a/backend/section.go b/backend/section.go index 06b48cc..a22d286 100644 --- a/backend/section.go +++ b/backend/section.go @@ -78,7 +78,7 @@ func (s *Section) Load(_ *Config) bool { } return false } - logger.Info("checking directory...", "path", s.Folder) + logger.Info("checking directory...") err = s.readDir(s.Folder, dir) if err != nil { slog.Error("reading directory", "error", err) @@ -168,7 +168,7 @@ func (s *Section) handleList(w http.ResponseWriter, r *http.Request) { } func (s *Section) handleRSS(w http.ResponseWriter, r *http.Request) { - d := handleGenericSectionDisplay(w, r, 5) + d := handleGenericSectionDisplay(w, r, []Section{*s}, 5) if d == nil { return } -- cgit v1.2.3