diff --git a/hugo.toml b/hugo.toml index e291edad..5500f09e 100644 --- a/hugo.toml +++ b/hugo.toml @@ -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. diff --git a/layouts/partials/feed/rss.html b/layouts/partials/feed/rss.html index 3ae7086c..969924bd 100644 --- a/layouts/partials/feed/rss.html +++ b/layouts/partials/feed/rss.html @@ -14,6 +14,12 @@ {{ .Title }} {{ .Permalink }} {{ .Site.Params.description | default .Site.Title }} + {{- if and (.Site.Params.feed.follow.feedId) (.Site.Params.feed.follow.userId) }} + + {{ .Site.Params.feed.follow.feedId }} + {{ .Site.Params.feed.follow.userId }} + + {{- end }} Hugo {{ hugo.Version }} & FixIt {{ .Version }} {{ .Site.Language.LanguageCode }}{{ with .Site.Params.author.email }} {{.}}{{ with $.Site.Params.author.name }} ({{ . }}){{ end }}{{ end }}{{ with .Site.Params.author.email }} diff --git a/layouts/partials/init/index.html b/layouts/partials/init/index.html index e2caa220..f2f4410d 100644 --- a/layouts/partials/init/index.html +++ b/layouts/partials/init/index.html @@ -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" . -}}