mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-21 07:46:30 -05:00
Fixed null/str issue
This commit is contained in:
parent
8aa5ac39d3
commit
0ef524a9f3
1 changed files with 2 additions and 2 deletions
|
@ -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 }}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue