From 0ef524a9f30f2fbbec0fc3ed451dca53a49e566b Mon Sep 17 00:00:00 2001 From: Brandon Rozek Date: Thu, 5 Jan 2023 12:45:09 -0500 Subject: [PATCH] Fixed null/str issue --- layouts/_default/item.json.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/item.json.json b/layouts/_default/item.json.json index c7bff5c..7fe1224 100644 --- a/layouts/_default/item.json.json +++ b/layouts/_default/item.json.json @@ -13,12 +13,12 @@ "_syndication": { "mastodon": { "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 ""}}" }, "medium": { "enabled": {{ .Params.medium_enabled | default "false" }}, - "post_id": {{ .Params.medium_post_id | default "null" }} + "post_id": {{ .Params.medium_post_id | jsonify }} } } } \ No newline at end of file