diff --git a/layouts/_partials/base/head/index.html b/layouts/_partials/base/head/index.html index ae724fa9..fad24ec1 100644 --- a/layouts/_partials/base/head/index.html +++ b/layouts/_partials/base/head/index.html @@ -97,7 +97,13 @@ {{- /* Alternative output formats (Atom, RSS, manifest etc.) */ -}} {{- range .AlternativeOutputFormats -}} - {{- if (eq .Name "manifest") | and (not $.Site.Params.app.pwa) -}} + {{- if + (eq .Name "manifest") | and ( + hugo.IsServer | or + (not hugo.IsProduction) | or + (not $.Site.Params.app.pwa) + ) + -}} {{- continue -}} {{- end -}} diff --git a/layouts/_partials/init/index.html b/layouts/_partials/init/index.html index 52ef7bbd..dd317ecd 100644 --- a/layouts/_partials/init/index.html +++ b/layouts/_partials/init/index.html @@ -8,7 +8,7 @@ Called from: layouts/baseof.html. */ -}} -{{- hugo.Store.Set "version" "v1.0.0-alpha" -}} +{{- hugo.Store.Set "version" "v1.0.0-alpha-msixwsck" -}} {{- .Store.Set "this" dict -}} {{- partial "init/detection-env.html" . -}}