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
In latest seo/opengraph.html partial the image file path assets/cover.png is hardcoded. This results in the following warnings if the file doesn't exist:
WARN [Hugo SEO] Missing default image for og:image - assets/cover.png does not exist. Use a high-quality image with dimensions of at least 1200 x 630 pixels, while keeping the file size under 8 MB.
WARN [Hugo SEO] Missing default image for og:image - Add 'images: ['cover.png']' to your hugo.yaml
Why would you instruct the user to set images: ['cover.png'] in their hugo.yaml when cover.png is hardcoded in the partial? And why would you hardcode the image file path in the first place?
Also I have a hard time to understand the purpose of the the first 11 lines:
In latest
seo/opengraph.html
partial the image file pathassets/cover.png
is hardcoded. This results in the following warnings if the file doesn't exist:Why would you instruct the user to set
images: ['cover.png']
in theirhugo.yaml
whencover.png
is hardcoded in the partial? And why would you hardcode the image file path in the first place?Also I have a hard time to understand the purpose of the the first 11 lines:
https://github.com/gethyas/seo/blob/903b0e4d9da38d18bb9740141cef4babd28ab10f/layouts/partials/seo/opengraph.html#L1-L11
Maybe you could shed some light on this @h-enk ? Thanks!
The text was updated successfully, but these errors were encountered: