Index: tests/test_site/pages/metadata_json.tmpl |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/tests/test_site/pages/metadata_json.tmpl |
@@ -0,0 +1,14 @@ |
+{ |
+ "title": "Awesome page", |
+ "template": "empty", |
+ "image": { |
+ "url": "/img/awesome.jpg", |
+ "height": 768 |
+ }, |
+ "tags": ["awesome", "news"] |
+ } |
+ |
+{{ title }} |
+{{ image['height'] }} |
+<!-- Test comment --> |
+{{ tags[0] }} |