From 638463895ad33818320c2f61c52914ece887e7b1 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Sun, 2 Feb 2020 18:36:09 -0500 Subject: [PATCH] trying to improve AMP analytics --- .gitignore | 2 ++ layouts/_default/single.amp.html | 37 +++++++++++++++++++++++++++++--- 2 files changed, 36 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1b0ebca8..16434d64 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,8 @@ public/ builds/ resources/ +.env + node_modules/ package-lock.json yarn-debug.log diff --git a/layouts/_default/single.amp.html b/layouts/_default/single.amp.html index 38643d52..c3b35587 100644 --- a/layouts/_default/single.amp.html +++ b/layouts/_default/single.amp.html @@ -4,6 +4,7 @@ {{ hugo.Generator }} + {{ if .HasShortcode "video" }}{{ end }} {{ if .HasShortcode "youtube" }}{{ end }} @@ -257,9 +258,39 @@
↑ Back to top.
- {{ if eq hugo.Environment "production" }} - - {{ end }} + + + + + + +{{ if eq hugo.Environment "production" }} + + +{{ end }} +