mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-24 20:33:00 +00:00
Fixed ineffective "disableHugoGeneratorInject" parameter (#337)
Fixed issue #336. HUGO does not use `{{ hugo.Generator }}` placeholder anymore.
This commit is contained in:
parent
6720168dd5
commit
4d936a55d8
@ -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" }}
|
||||||
|
Loading…
Reference in New Issue
Block a user