From 73b9225961e786b436cb3c850ed59d48ceb6ad9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Sun, 13 Nov 2022 12:42:51 +0100 Subject: [PATCH] theme: disable creation of generator meta tag on home page #383 --- exampleSite/config.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 0a8b5df011..69bc53b7a3 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -34,6 +34,11 @@ defaultContentLanguage = "en" # the site's title of this showcase; you should change this ;-) title = "Hugo Relearn Documentation" +# We disable this for testing the exampleSite; you must do so too +# if you want to use the themes parameter disableGeneratorVersion=true; +# otherwise Hugo will create a generator tag on your home page +disableHugoGeneratorInject = true + [outputs] # add JSON to the home to support lunr search; This is a mandatory setting # for the search functionality