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

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

Issue 29516687: Issue 4488 - Add support for JSON page front matter (Closed) Base URL: https://hg.adblockplus.org/cms
Patch Set: Cleaned up duplication, removed unnecessary regex Created Aug. 23, 2017, 6:12 p.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 Some extra comment text
11 -->
12
13 {{ title }}
14 {{ image['height'] }}
15 <!-- Test comment -->
16 {{ tags[0] }}
OLDNEW

Powered by Google App Engine
This is Rietveld