Fixed null/str issue

This commit is contained in:
Brandon Rozek 2023-01-05 12:45:09 -05:00
parent 8aa5ac39d3
commit 0ef524a9f3
No known key found for this signature in database
GPG key ID: 26E457DA82C9F480

View file

@ -13,12 +13,12 @@
"_syndication": { "_syndication": {
"mastodon": { "mastodon": {
"enabled": {{ .Params.mastodon_enabled | default "false" }}, "enabled": {{ .Params.mastodon_enabled | default "false" }},
"toot_id": {{ .Params.mastodon_toot_id | default "null" }}, "toot_id": {{ .Params.mastodon_toot_id | jsonify }},
"toot_text": "{{ .Params.mastodon_toot_text | default ""}}" "toot_text": "{{ .Params.mastodon_toot_text | default ""}}"
}, },
"medium": { "medium": {
"enabled": {{ .Params.medium_enabled | default "false" }}, "enabled": {{ .Params.medium_enabled | default "false" }},
"post_id": {{ .Params.medium_post_id | default "null" }} "post_id": {{ .Params.medium_post_id | jsonify }}
} }
} }
} }