🔥 Remove generator tag to revert to default Hugo behaviour

Fixes #179
pull/187/head
James Panther 2022-05-01 10:53:27 +10:00
parent 04a44fcd07
commit 00daa189d0
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
2 changed files with 4 additions and 4 deletions

View File

@ -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)) - 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 `<head>` 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 ## [2.1.3] - 2022-04-12
### Added ### Added

View File

@ -93,10 +93,6 @@
{{ template "_internal/twitter_cards.html" . }} {{ template "_internal/twitter_cards.html" . }}
{{/* Schema */}} {{/* Schema */}}
{{ partial "schema.html" . }} {{ partial "schema.html" . }}
{{/* Generator */}}
{{ if .Site.Params.attribution | default true }}
{{ hugo.Generator }}
{{ end }}
{{/* Me */}} {{/* Me */}}
{{ with .Site.Author.name }}<meta name="author" content="{{ . }}" />{{ end }} {{ with .Site.Author.name }}<meta name="author" content="{{ . }}" />{{ end }}
{{ with .Site.Author.links }} {{ with .Site.Author.links }}