How to edit the master AMP.hbs file

Hello, we use a heavily edited version of the Curious theme with Ghost 3.0

There is no amp.hbs file in our theme so my understanding is that it defaults to Ghost’s master amp template. How can I edit this? Is there somewhere that I can download it? Then do I simply edit the amp.hbs file and add it to our theme?

All I want to do is change the colour scheme to our brand colours and to add the hreflang and lang attributes, which seem to be missing from the default amp.hbs template…

Thanks in advance

Tom

You can find the default amp.hbs here: https://github.com/TryGhost/Ghost/blob/master/core/frontend/apps/amp/lib/views/amp.hbs

1 Like

Yep, if a theme has an amp.hbs template that will override the default one. There’s docs for all of this :slight_smile:

1 Like

Thank you!

1 Like

Thanks Kevin!

1 Like