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
I figured I would try to add keywords to my blog, so I added them to my languages.en.toml like so:
keywords = ["keyword1", "keyword2", "keyword3"]
Not sure if this is where they are supposed to go or if it's the correct format, as I couldn't find any documentation, but it does populate it on the home page. However, it too has a trailing comma:
I think maybe it's just taking that whole list and placing it on the page as is, with that extra comma from {{ . }},{{ end }} after it. Thought it would loop over the values, but I guess not.
Theme version
v2.0.4
Hugo version
v0.92.2
What browsers are you seeing the problem on?
Firefox
Relevant Hugo log output
No response
The text was updated successfully, but these errors were encountered:
Ah that makes sense, forgot that there are Hugo predefined front matter parameters. Thanks for fixing this! Very clean, just having to swap the two lines around to fix it.
What happened?
Google's site crawler notified me of an "unparsable structured data" issue, located on the main page.
congo/layouts/partials/schema.html
Lines 11 to 17 in e9f5908
Since I didn't have keywords on my home page, line 15 doesn't happen, leaving line 14 with a trailing comma that Google and JSON doesn't like:
I figured I would try to add keywords to my blog, so I added them to my
languages.en.toml
like so:Not sure if this is where they are supposed to go or if it's the correct format, as I couldn't find any documentation, but it does populate it on the home page. However, it too has a trailing comma:
I think maybe it's just taking that whole list and placing it on the page as is, with that extra comma from
{{ . }},{{ end }}
after it. Thought it would loop over the values, but I guess not.Theme version
v2.0.4
Hugo version
v0.92.2
What browsers are you seeing the problem on?
Firefox
Relevant Hugo log output
No response
The text was updated successfully, but these errors were encountered: