mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
Merge pull request #511 from Xm798/dev
✨ Feat: Add Follow site challenge support in RSS feed
This commit is contained in:
@@ -822,6 +822,10 @@ enableEmoji = true
|
||||
limit = 10
|
||||
# whether to show the full text content in feed.
|
||||
fullText = true
|
||||
# Site Challenge for Follow: https://follow.is/
|
||||
[params.feed.follow]
|
||||
feedId = ""
|
||||
userId = ""
|
||||
|
||||
# FixIt 0.3.12 | NEW Custom partials config
|
||||
# Custom partials must be stored in the /layouts/partials/ directory.
|
||||
|
||||
@@ -14,6 +14,12 @@
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<description>{{ .Site.Params.description | default .Site.Title }}</description>
|
||||
{{- if and (.Site.Params.feed.follow.feedId) (.Site.Params.feed.follow.userId) }}
|
||||
<follow_challenge>
|
||||
<feedId>{{ .Site.Params.feed.follow.feedId }}</feedId>
|
||||
<userId>{{ .Site.Params.feed.follow.userId }}</userId>
|
||||
</follow_challenge>
|
||||
{{- end }}
|
||||
<generator>Hugo {{ hugo.Version }} & FixIt {{ .Version }}</generator>
|
||||
<language>{{ .Site.Language.LanguageCode }}</language>{{ with .Site.Params.author.email }}
|
||||
<managingEditor>{{.}}{{ with $.Site.Params.author.name }} ({{ . }}){{ end }}</managingEditor>{{ end }}{{ with .Site.Params.author.email }}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{- .Scratch.Set "version" "v0.3.13-9e9bc9ef" -}}
|
||||
{{- .Scratch.Set "version" "v0.3.13-8614ed49" -}}
|
||||
{{- .Scratch.Set "this" dict -}}
|
||||
|
||||
{{- partial "init/detection-env.html" . -}}
|
||||
|
||||
Reference in New Issue
Block a user