diff --git a/config/_default/params.toml b/config/_default/params.toml index d15943ef9..478dd0aac 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -159,3 +159,8 @@ forgejoDefaultServer = "https://v8.next.forgejo.org" # bing = "" # pinterest = "" # yandex = "" + +[RSSNext] +# feedId = "" +# userId = "" + diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index eab240932..449f08dbe 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -27,6 +27,12 @@ {{- with .OutputFormats.Get "RSS" -}} {{ printf "" .Permalink .MediaType | safeHTML }} {{- end -}} + {{ if and (.Site.Params.RSSNext.feedId) (.Site.Params.RSSNext.userId) }} + + {{ .Site.Params.RSSNext.feedId }} + {{ .Site.Params.RSSNext.userId }} + + {{ end }} {{ range $pages }} {{ .Title }}