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: Removed the sitemap sort attribute Created April 19, 2018, 3:30 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 "image": {
4 "url": "/img/awesome.jpg",
5 "height": 768
6 },
7 "tags": ["awesome", "news"]
8 }
9 Some extra comment text
10 -->
11
12 {{ title }}
13 {{ image['height'] }}
14 <!-- Test comment -->
15 {{ tags[0] }}
OLDNEW
« no previous file with comments | « tests/test_site/pages/metadata_json.tmpl ('k') | tests/test_site/pages/metadata_old_comment.tmpl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld