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: Preserve lines in metadata, fix sort in sitemap.tmpl Created March 26, 2018, 2:28 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