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

Delta Between Two Patch Sets: 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
Left Patch Set: Preserve lines in metadata, fix sort in sitemap.tmpl Created March 26, 2018, 2:28 a.m.
Right 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « tests/test_site/pages/metadata_json.tmpl ('k') | tests/test_site/pages/metadata_old_comment.tmpl » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 <!-- { 1 <!-- {
2 "title": "Awesome page", 2 "title": "Awesome page",
3 "template": "empty", 3 "image": {
4 "image": { 4 "url": "/img/awesome.jpg",
5 "url": "/img/awesome.jpg", 5 "height": 768
6 "height": 768 6 },
7 }, 7 "tags": ["awesome", "news"]
8 "tags": ["awesome", "news"] 8 }
9 }
10 Some extra comment text 9 Some extra comment text
11 --> 10 -->
12 11
13 {{ title }} 12 {{ title }}
14 {{ image['height'] }} 13 {{ image['height'] }}
15 <!-- Test comment --> 14 <!-- Test comment -->
16 {{ tags[0] }} 15 {{ tags[0] }}
LEFTRIGHT

Powered by Google App Engine
This is Rietveld