You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
I have overriden head-open.html in layouts/partials like this:
<meta name="description" content="{{ .Description }}"/>
<meta property="og:title" content="{{ .Title }}"/>
<meta property="og:description" content="{{ .Description }}"/>
{{ with .Params.Images }}
{{ range first 1 . }}
<meta property="og:image" content="{{ . | absURL }}" />
{{ end }}
{{ end }}
The first three tags go correctly into the head, but the last one goes into body. Not sure if this is caused by the fact that hugo has to run through the images array, hence delaying the execution and putting in the tag in the body. Nevertheless, this could also be a bug, couldn't it?
The text was updated successfully, but these errors were encountered:
PaulRBerg
changed the title
head-open adds headers in body
head-open adds meta tag in body
Dec 24, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have overriden
head-open.html
inlayouts/partials
like this:The first three tags go correctly into the
head
, but the last one goes intobody
. Not sure if this is caused by the fact that hugo has to run through the images array, hence delaying the execution and putting in the tag in thebody
. Nevertheless, this could also be a bug, couldn't it?The text was updated successfully, but these errors were encountered: