diff options
author | Christian Oliff <christianoliff@yahoo.com> | 2019-10-21 19:19:40 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-10-21 19:25:20 +0300 |
commit | 7f17aa13848f7d0a81558201b347d49831b147b0 (patch) | |
tree | 78cb2a52def916319242f244b300d80ea341bdce /layouts | |
parent | e04e627ce933e11cffe30279c6cdc9b4827ca497 (diff) |
Lowercase meta robots tags
This improves gZip compression and keeps things consistent.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/baseof.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4474e1f6..fd1b10b6 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -15,9 +15,9 @@ {{ hugo.Generator }} {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} - <META NAME="ROBOTS" CONTENT="INDEX, FOLLOW"> + <meta name="robots" content="index, follow"> {{ else }} - <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> + <meta name="robots" content="noindex, nofollow"> {{ end }} {{ range .AlternativeOutputFormats -}} |