From d738a774ce024ab70af43e6e0877bff3e1ddd0d1 Mon Sep 17 00:00:00 2001 From: frankslin Date: Tue, 3 Sep 2024 16:34:07 -0700 Subject: [PATCH] Remove `{{ hugo.Generator }}` template from meta.html partial. The `{{ hugo.Generator }}` is unnecessary since hugo will inject the generator tag to the section without it. However, the presence of `{{ hugo.Generator }}` will prevent the `disableHugoGeneratorInject` option in config.toml from taking effect. See: https://gohugo.io/getting-started/configuration/#disablehugogeneratorinject Signed-off-by: Frank Lin --- layouts/partials/meta.html | 1 - 1 file changed, 1 deletion(-) diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index a8802ad4..15f01295 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -9,4 +9,3 @@ {{ if .Site.Params.Description }} {{ end }} {{ end }} -{{ hugo.Generator }}