summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJB <djibe89@hotmail.com>2022-10-14 12:16:53 +0200
committerGitHub <noreply@github.com>2022-10-14 12:16:53 +0200
commit01ebb6e304b243c335470f737cf7ad8b9d70bac9 (patch)
tree843d0b4b0500d03a4d05b9917aa9b1e48fb92705 /common
parenta066e98851dfbd78c17c98f0878c2e8b84a10f50 (diff)
Don't use self-closing generator tag
Diffstat (limited to 'common')
-rw-r--r--common/hugo/hugo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/hugo/hugo.go b/common/hugo/hugo.go
index 54fbd65a3..5f51d2be2 100644
--- a/common/hugo/hugo.go
+++ b/common/hugo/hugo.go
@@ -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 {