Fixed ineffective "disableHugoGeneratorInject" parameter (#337)

Fixed issue #336. HUGO does not use `{{ hugo.Generator }}` placeholder anymore.
This commit is contained in:
Nikolay Raspopov 2021-05-06 10:33:18 +03:00 committed by GitHub
parent 6720168dd5
commit 4d936a55d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}" dir="{{ .Site.Language.LanguageDirection | default "ltr" }}"> <html lang="{{ .Site.Language.Lang }}" dir="{{ .Site.Language.LanguageDirection | default "ltr" }}">
<head> <head>
{{ hugo.Generator }}
{{ partial "docs/html-head" . }} {{ partial "docs/html-head" . }}
{{ partial "docs/inject/head" . }} {{ partial "docs/inject/head" . }}
</head> </head>
<body dir="{{ .Site.Language.LanguageDirection | default "ltr" }}"> <body dir="{{ .Site.Language.LanguageDirection | default "ltr" }}">
<input type="checkbox" class="hidden toggle" id="menu-control" /> <input type="checkbox" class="hidden toggle" id="menu-control" />
<input type="checkbox" class="hidden toggle" id="toc-control" /> <input type="checkbox" class="hidden toggle" id="toc-control" />
@ -47,7 +44,6 @@
{{ partial "docs/inject/body" . }} {{ partial "docs/inject/body" . }}
</body> </body>
</html> </html>
{{ define "menu" }} {{ define "menu" }}