mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 01:41:54 +02:00
RSS support follow claim
This commit is contained in:
parent
f037da3120
commit
211235cf0f
2 changed files with 11 additions and 0 deletions
|
@ -159,3 +159,8 @@ forgejoDefaultServer = "https://v8.next.forgejo.org"
|
|||
# bing = ""
|
||||
# pinterest = ""
|
||||
# yandex = ""
|
||||
|
||||
[RSSNext]
|
||||
# feedId = ""
|
||||
# userId = ""
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue