From 70f16f3d973340e6a80486b067d1ef4fefee26b5 Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Mon, 6 Jul 2020 23:09:24 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20New=20Google=20AMP=20template=20?= =?UTF-8?q?(#11986)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Refreshed the design of the default Ghost AMP template - Updated tests --- core/frontend/apps/amp/lib/views/amp.hbs | 605 +++++++++++++++++- .../default_routes_spec.js | 4 +- 2 files changed, 585 insertions(+), 24 deletions(-) diff --git a/core/frontend/apps/amp/lib/views/amp.hbs b/core/frontend/apps/amp/lib/views/amp.hbs index cdfdbc0225..14dd1af297 100644 --- a/core/frontend/apps/amp/lib/views/amp.hbs +++ b/core/frontend/apps/amp/lib/views/amp.hbs @@ -1,23 +1,573 @@ - {{!-- Document Settings --}} - - {{!-- Page Meta --}} - {{meta_title}} - - {{!-- Mobile Meta --}} - + {{meta_title}} + {{amp_ghost_head}} - {{!-- Styles'n'Scripts --}} - - + + + {{!-- AMP Boilerplate --}} @@ -27,10 +577,14 @@ {{#post}} -
- +
@@ -39,13 +593,13 @@

{{title}}

{{#if feature_image}}
- +
{{/if}}
@@ -57,9 +611,16 @@
{{/post}} -