From 68c98ea9b55f94bbed51d328fa6e02538ffbced2 Mon Sep 17 00:00:00 2001 From: Hippo Date: Tue, 11 Jan 2022 10:11:07 +0530 Subject: [PATCH] Add AMP template page This is for Google to display Accelerated Mobile Pages results, special pages designed for mobile viewing. For some reason, the default Ghost one was rejected (because of use of the !important tag). This tag is not there in the Ghost source code but seemed to be coming from somewhere (or maybe because we have a slightly older version?). Anyway, this update takes care of it all :) --- amp.hbs | 1049 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1049 insertions(+) create mode 100644 amp.hbs diff --git a/amp.hbs b/amp.hbs new file mode 100644 index 0000000..850943d --- /dev/null +++ b/amp.hbs @@ -0,0 +1,1049 @@ + + + + + + + {{meta_title}} + + {{amp_ghost_head}} + + + + + + {{!-- AMP Boilerplate --}} + + + + {{amp_components}} + + + + + {{#post}} + + +
+
+ +
+

{{title}}

+ +
+ {{#if feature_image}} +
+ +
+ {{/if}} +
+ + {{amp_content}} + +
+ +
+
+ {{/post}} + + {{amp_analytics}} + +