From ed13aeb13f17f445a2f308c47e893114b07b0eab Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Wed, 23 Dec 2020 21:48:27 -0800 Subject: [PATCH] Save Hugo version in bottom of I previously removed this from because the first piece of metadata should be setting the charset to utf-8. This commit adds it back, but to the bottom of . --- config.toml | 2 +- themes/etch-custom/layouts/partials/head.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 3f29df0..338fb78 100644 --- a/config.toml +++ b/config.toml @@ -5,7 +5,7 @@ theme = "etch-custom" enableInlineShortcodes = true enableGitInfo = true -disableHugoGeneratorInject = true # first item in should be charset=utf-8 +disableHugoGeneratorInject = true # I inject it explicitly at the BOTTOM of uglyurls = true pygmentsCodeFences = true pygmentsUseClasses = true diff --git a/themes/etch-custom/layouts/partials/head.html b/themes/etch-custom/layouts/partials/head.html index 052d0e1..6dc2deb 100644 --- a/themes/etch-custom/layouts/partials/head.html +++ b/themes/etch-custom/layouts/partials/head.html @@ -62,4 +62,5 @@ + {{ hugo.Generator }}