diff --git a/hugo.toml b/hugo.toml index 619eb046..b1614403 100644 --- a/hugo.toml +++ b/hugo.toml @@ -293,7 +293,7 @@ enableEmoji = true # taxonomy = ["html"] # term = ["html", "rss"] [outputs] - home = ["html", "rss", "archives", "search"] + home = ["html", "rss", "archives", "offline", "search"] page = ["html", "markdown"] section = ["html", "rss"] taxonomy = ["html"] diff --git a/layouts/partials/head/link.html b/layouts/partials/head/link.html index 45eb2a9b..cf8d66cf 100644 --- a/layouts/partials/head/link.html +++ b/layouts/partials/head/link.html @@ -32,7 +32,8 @@ {{- range .AlternativeOutputFormats -}} {{- printf `` .Rel .MediaType.Type .Permalink $title | safeHTML -}} {{- end -}} -{{- with .OutputFormats.Get "feed" -}} +{{- /* Compatible with https://github.com/hugo-fixit/hugo-json-feed */ -}} +{{- with .OutputFormats.Get "jsonfeed" -}} {{- end -}} diff --git a/layouts/partials/init/index.html b/layouts/partials/init/index.html index 86700be6..8a91ee31 100644 --- a/layouts/partials/init/index.html +++ b/layouts/partials/init/index.html @@ -1,4 +1,4 @@ -{{- .Scratch.Set "version" "v0.3.10-08d4c12c" -}} +{{- .Scratch.Set "version" "v0.3.10-3ffef8ac" -}} {{- .Scratch.Set "this" dict -}} {{- partial "init/detection-env.html" . -}}