mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
theme: remove whitespace from version meta
This commit is contained in:
parent
f246e3e0bd
commit
e907e9b38f
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
|
||||
<meta name="generator" content="Relearn {{ partial "version.html" }}">
|
||||
{{- $ver := partial "version.html" }}
|
||||
{{- $ver = replaceRE "\\s*(\\S*)" "${1}" $ver }}
|
||||
<meta name="generator" content="Relearn {{ $ver }}">
|
||||
{{- partial "page-meta.go" . }}
|
||||
{{- if not (and .Title (or (ne (.Scratch.Get "relearnIsHiddenStem") true) (ne .Site.Params.disableSeoHiddenPages true) ) ) }}
|
||||
<meta name="robots" content="noindex, nofollow, noarchive, noimageindex">
|
||||
|
|
Loading…
Reference in a new issue