Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed empty string parse error in meta_json_id.html #295

Merged
merged 1 commit into from
Jun 30, 2020

Conversation

rahatzamancse
Copy link
Contributor

Hugo throws error while building if I do not give any description. Because the description were becoming only "description": , which is invalid. FIxed it by wraping which will give "description": "", which is valid.

Hugo throws error while building if I do not give any description. Because the description were becoming only `"description": ,` which is invalid. FIxed it by wraping which will give `"description": "",` which is valid.
@zzossig zzossig merged commit 5364fc0 into zzossig:master Jun 30, 2020
@zzossig
Copy link
Owner

zzossig commented Jun 30, 2020

Ok, thanks!

zzossig added a commit that referenced this pull request Jun 30, 2020
@zzossig
Copy link
Owner

zzossig commented Jun 30, 2020

I found discussions regarding this issue
https://discourse.gohugo.io/t/x26rsquo-bad-escape-sequence-in-string-for-json-ld/19017/3?u=zzo
So I changed it to use a default value in this commit 6229f7f

@rahatzamancse rahatzamancse deleted the fix-empty-string-json branch June 30, 2020 15:15
siteofen pushed a commit to siteofen/hugo-theme-zzo that referenced this pull request Jan 31, 2025
Fixed empty string parse error in meta_json_id.html
siteofen pushed a commit to siteofen/hugo-theme-zzo that referenced this pull request Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants