aboutsummaryrefslogtreecommitdiff
path: root/assets/templates
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-06-13 22:40:39 -0400
committertdro <tdro@noreply.example.com>2022-06-13 22:40:39 -0400
commitc351b53cf258081d590e8b60d204d8d9401924bb (patch)
treeeae9d15b472050c13374efd7b1b25455a8ed6bdf /assets/templates
parent015924a6f017ab66105549b98c9e29a536af1cdd (diff)
downloadcanory-c351b53cf258081d590e8b60d204d8d9401924bb.tar.gz
canory-c351b53cf258081d590e8b60d204d8d9401924bb.tar.bz2
canory-c351b53cf258081d590e8b60d204d8d9401924bb.zip
assets/templates/markdown-feed: Encode feed values into JSON
Some mapping symbols can slip through.
Diffstat (limited to 'assets/templates')
-rw-r--r--assets/templates/markdown-feed.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/templates/markdown-feed.yaml b/assets/templates/markdown-feed.yaml
index d39a999..7225f46 100644
--- a/assets/templates/markdown-feed.yaml
+++ b/assets/templates/markdown-feed.yaml
@@ -16,7 +16,7 @@ feed:
(ne $key "date")
(ne $key "tags")
-}}
-{{ print " " }}{{- $key }}: {{ $value }}
+{{ print " " }}{{- $key }}: {{ $value | jsonify }}
{{ end -}}
{{ end -}}
---