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