diff --git a/README.md b/README.md index b59a70d..1a60c7b 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ git submodule update --remote Below page has an extensive list of user submitted sites/pages using hermit-V2. -Page in question: [Sites-using-hermit‐V2](https://github.com/1bl4z3r/hermit-V2/wiki/Sites-using-hermit‐V2) +Page in question: [Sites-using-hermit‐V2](https://github.com/1bl4z3r/hermit-V2/wiki) ## First Use Knowledge diff --git a/hugo.toml b/hugo.toml index 4bb977e..7f73f66 100644 --- a/hugo.toml +++ b/hugo.toml @@ -2,6 +2,14 @@ baseURL = "https://1bl4z3r.github.io/hermit-V2/" defaultContentLanguage = "en" defaultContentLanguageInSubdir = true +# [outputs] +# home = ['html', 'rss'] +# page = ['html'] +# rss = ['rss'] +# section = ['html', 'rss'] +# taxonomy = ['html', 'rss'] +# term = ['html', 'rss'] + [languages] [languages.en] title = 'Hermit - V2' diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 02a76f8..84ab09e 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -4,9 +4,9 @@ · {{ .Site.Params.footerCopyright | safeHTML }} · Made with Hugo · Theme Hermit-V2 - {{/*{{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }}*/}} - · {{ partial "svg.html" (dict "context" . "name" "rss") }} - {{/*{{ end }}*/}} + {{- with .OutputFormats.Get "RSS" }} + · {{- partial "svg.html" (dict "context" . "name" "rss") -}} + {{- end -}}

\ No newline at end of file diff --git a/layouts/partials/single-footer.html b/layouts/partials/single-footer.html index 566f068..f3a3d31 100644 --- a/layouts/partials/single-footer.html +++ b/layouts/partials/single-footer.html @@ -1,6 +1,6 @@

© {{ now.Format "2006" }} {{ .Site.Params.author.name }} · {{ .Site.Params.footerCopyright | safeHTML }} - {{/*{{- with (not (in (.Site.Language.Get "disableKinds") "RSS")) }}*/}} - · {{ partial "svg.html" (dict "context" . "name" "rss") }} - {{/*{{ end }}*/}} + {{- with .OutputFormats.Get "RSS" }} + · {{- partial "svg.html" (dict "context" . "name" "rss") -}} + {{- end -}}

\ No newline at end of file