The Ghost Themes Developer Hub

Welcome to the Ghost Themes developer hub. You'll find comprehensive guides and documentation to help you start working with Ghost Themes as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

amp

The amp context

Use: {{#is "amp"}}{{/is}} to detect this context.

Context
Url
Template
Data
Body Classes

amp

/:permalink/amp/

amp.hbs

{post}

.post-template, .tag-:slug

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 page.

amp

The amp context