From 00daa189d049e23bd122f81e67cdbfe014de9585 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Sun, 1 May 2022 10:53:27 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Remove=20generator=20tag=20to=20?= =?UTF-8?q?revert=20to=20default=20Hugo=20behaviour?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #179 --- CHANGELOG.md | 4 ++++ layouts/partials/head.html | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9d06e3b..2e7b90e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Scroll to top link overlaps footer menu on mobile devices when there are several links ([#172](https://github.com/jpanther/congo/issues/172)) +### Removed + +- `hugo.Generator` from HTML `
` so that the [default Hugo generator behaviour](https://gohugo.io/getting-started/configuration/#disablehugogeneratorinject) works as expected ([#179](https://github.com/jpanther/congo/issues/179)) + ## [2.1.3] - 2022-04-12 ### Added diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e59f8efd..c78bd371 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -93,10 +93,6 @@ {{ template "_internal/twitter_cards.html" . }} {{/* Schema */}} {{ partial "schema.html" . }} - {{/* Generator */}} - {{ if .Site.Params.attribution | default true }} - {{ hugo.Generator }} - {{ end }} {{/* Me */}} {{ with .Site.Author.name }}{{ end }} {{ with .Site.Author.links }}