From fa018564e5a508c7f7268554f044431cc2e66019 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Mon, 30 Mar 2020 13:01:47 -0400 Subject: [PATCH] prevent Hugo's auto-escaping of base URL in twemoji JS --- layouts/_default/baseof.html | 2 +- layouts/partials/scripts/twemoji.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 8872dbbb..f843987a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -10,8 +10,8 @@ {{ block "main" . }}{{ end }} {{ partialCached "page/footer" . }} -{{ partial "scripts/twemoji" . }} {{ partial "scripts/shortcodes" . }} +{{ partial "scripts/twemoji" . }} {{ if eq hugo.Environment "production" }} {{ partialCached "scripts/simple_analytics" . }} {{ end }} diff --git a/layouts/partials/scripts/twemoji.html b/layouts/partials/scripts/twemoji.html index 3e49ea21..2672a269 100644 --- a/layouts/partials/scripts/twemoji.html +++ b/layouts/partials/scripts/twemoji.html @@ -1,2 +1,2 @@ - +