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

Unified Diff: tests/frontmatter_samples/front_matter_json.html

Issue 29516687: Issue 4488 - Add support for JSON page front matter (Closed) Base URL: https://hg.adblockplus.org/cms
Patch Set: Created Aug. 16, 2017, 12:43 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/frontmatter_samples/front_matter_json.html
===================================================================
new file mode 100644
--- /dev/null
+++ b/tests/frontmatter_samples/front_matter_json.html
@@ -0,0 +1,12 @@
+<!-- {
+ "title": "Awesome page",
Vasily Kuznetsov 2017/08/16 18:34:56 Here we should probably have a bit more diversity
rosie 2017/08/19 01:56:34 Integrated this test with test_site and expected_o
rosie 2017/08/19 01:56:34 Done.
+ "description": "Awesome description",
+ "image": {
+ "url": "/img/awesome.jpg",
+ "type": "image/jpg",
+ "width": "1024",
+ "height": "768",
+ "alt": "Awesome image"
+ }
+} -->
+<h1>Awesome page</h1>

Powered by Google App Engine
This is Rietveld