summaryrefslogtreecommitdiff
path: root/templates/blog-post.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--templates/blog-post.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/blog-post.html b/templates/blog-post.html
index 4f1e5a2..10f8f7e 100644
--- a/templates/blog-post.html
+++ b/templates/blog-post.html
@@ -74,9 +74,9 @@
"isPartOf": {
"@id": "{{ blog_id }}"
},
- "headline": "{{ this.title }}",
- "name": "{{ this.title }}",
- "description": "{{ post_description }}",
+ "headline": {{ this.title | tojson }},
+ "name": {{ this.title | tojson }},
+ "description": {{ post_description | tojson }},
"datePublished": "{{ this.publication_date | dateformat('yyyy-MM-dd') }}T00:00:00Z",
"dateModified": "{{ modified_date | dateformat('yyyy-MM-dd') }}T00:00:00Z",
"inLanguage": "en",
@@ -86,8 +86,8 @@
"publisher": {
"@id": "{{ person_id }}"
},
- "keywords": "{{ this.tags | join(', ') }}",
- "articleSection": "{{ category }}"
+ "keywords": {{ this.tags | join(', ') | tojson }},
+ "articleSection": {{ category | tojson }}
}
</script>
{% endif %}