Merge pull request #1850 from Weaxs/dev

support rssnext/follow to claim feed as your own
This commit is contained in:
Nuno Coração
2024-12-01 18:58:50 +00:00
committed by GitHub
7 changed files with 44 additions and 0 deletions
+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>