{"_id":"5937b23b8e8d9b002f1df2b0","category":{"_id":"5937b2388e8d9b002f1df270","version":"5937b2378e8d9b002f1df26e","project":"542fe92a5eceb608003fddc8","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-13T19:08:44.260Z","from_sync":false,"order":1,"slug":"context-reference","title":"Context Reference"},"project":"542fe92a5eceb608003fddc8","parentDoc":null,"user":"572f1e7f9cd0501700b2fb36","version":{"_id":"5937b2378e8d9b002f1df26e","project":"542fe92a5eceb608003fddc8","__v":1,"createdAt":"2017-06-07T07:58:47.936Z","releaseDate":"2017-06-07T07:58:47.936Z","categories":["5937b2388e8d9b002f1df26f","5937b2388e8d9b002f1df270","5937b2388e8d9b002f1df271","5937b2388e8d9b002f1df272","5937b2388e8d9b002f1df273","5937b2388e8d9b002f1df274"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0.0"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-08-17T12:58:34.649Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":18,"body":"Use: `{{#is \"amp\"}}{{/is}}` to detect this context.\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Context\",\n    \"h-1\": \"Url\",\n    \"h-2\": \"Template\",\n    \"h-3\": \"Data\",\n    \"h-4\": \"Body Classes\",\n    \"0-0\": \"amp\",\n    \"0-1\": \"/:permalink/amp/\",\n    \"0-2\": \"amp.hbs\",\n    \"0-3\": \"{post}\",\n    \"0-4\": \".post-template, .tag-:slug\"\n  },\n  \"cols\": 5,\n  \"rows\": 1\n}\n[/block]\n## Description\n\nThe `amp` template is used to render an automatic AMP (Accelerated Mobile Pages) version of your post, which makes things load crazy-fast on mobile devices and puts you in Google's good-books.\n\nFor more information, how to use AMP for your theme, see the [AMP features](doc:amp) page.","excerpt":"The `amp` context","slug":"amp-context","type":"basic","title":"amp"}

amp

The `amp` context

Use: `{{#is "amp"}}{{/is}}` to detect this context. [block:parameters] { "data": { "h-0": "Context", "h-1": "Url", "h-2": "Template", "h-3": "Data", "h-4": "Body Classes", "0-0": "amp", "0-1": "/:permalink/amp/", "0-2": "amp.hbs", "0-3": "{post}", "0-4": ".post-template, .tag-:slug" }, "cols": 5, "rows": 1 } [/block] ## Description The `amp` template is used to render an automatic AMP (Accelerated Mobile Pages) version of your post, which makes things load crazy-fast on mobile devices and puts you in Google's good-books. For more information, how to use AMP for your theme, see the [AMP features](doc:amp) page.