Merge pull request #1850 from Weaxs/dev

support rssnext/follow to claim feed as your own
This commit is contained in:
Nuno Coração authored and GitHub committed 2024-12-01 18:58:50 +00:00
commit b58bbbede6
7 files changed
+44

No files matched your search

+6
View File
@@ -27,6 +27,12 @@
{{- with .OutputFormats.Get "RSS" -}}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{- end -}}
{{ if and (.Site.Params.rssnext.feedId) (.Site.Params.rssnext.userId) }}
<follow_challenge>
<feedId>{{ .Site.Params.rssnext.feedId }}</feedId>
<userId>{{ .Site.Params.rssnext.userId }}</userId>
</follow_challenge>
{{ end }}
{{ range $pages }}
<item>
<title>{{ .Title }}</title>