Don't use self-closing generator tag

This commit is contained in:
JB
2022-10-14 12:16:53 +02:00
committed by GitHub
parent a066e98851
commit 01ebb6e304
4 changed files with 7 additions and 7 deletions

View File

@@ -68,7 +68,7 @@ func (i Info) Version() VersionString {
// Generator a Hugo meta generator HTML tag.
func (i Info) Generator() template.HTML {
return template.HTML(fmt.Sprintf(`<meta name="generator" content="Hugo %s" />`, CurrentVersion.String()))
return template.HTML(fmt.Sprintf(`<meta name="generator" content="Hugo %s">`, CurrentVersion.String()))
}
func (i Info) IsProduction() bool {