mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 07:51:53 +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 = ""
|
# bing = ""
|
||||||
# pinterest = ""
|
# pinterest = ""
|
||||||
# yandex = ""
|
# yandex = ""
|
||||||
|
|
||||||
|
[RSSNext]
|
||||||
|
# feedId = ""
|
||||||
|
# userId = ""
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,12 @@
|
||||||
{{- with .OutputFormats.Get "RSS" -}}
|
{{- with .OutputFormats.Get "RSS" -}}
|
||||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||||
{{- end -}}
|
{{- 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 }}
|
{{ range $pages }}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
|
|
Loading…
Add table
Reference in a new issue