Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: tests/test_site/pages/metadata_json.tmpl

Issue 29516687: Issue 4488 - Add support for JSON page front matter (Closed) Base URL: https://hg.adblockplus.org/cms
Patch Set: Removed JSON postprocessing and integrated the cms tests Created Aug. 19, 2017, 1:55 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 {
2 "title": "Awesome page",
3 "template": "empty",
4 "image": {
5 "url": "/img/awesome.jpg",
6 "height": 768
7 },
8 "tags": ["awesome", "news"]
9 }
10
11 {{ title }}
12 {{ image['height'] }}
13 <!-- Test comment -->
14 {{ tags[0] }}
OLDNEW

Powered by Google App Engine
This is Rietveld