Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alex-shpak/hugo-book.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolay Raspopov <raspopov@cherubicsoft.com>2021-05-06 10:33:18 +0300
committerGitHub <noreply@github.com>2021-05-06 10:33:18 +0300
commit4d936a55d8f610f95afa1acb67e2014ad8021bc9 (patch)
tree49e6dd8bb44484de472e57bcc0c5a98b154b4d9e
parent6720168dd507dfaf58629718ef6bc7b7073699b2 (diff)
Fixed ineffective "disableHugoGeneratorInject" parameter (#337)
Fixed issue #336. HUGO does not use `{{ hugo.Generator }}` placeholder anymore.
-rw-r--r--layouts/_default/baseof.html4
1 files changed, 0 insertions, 4 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index d3a6a46..3b2a7fc 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -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" }}