From 4a67529132f889ccdf5835e25959ab8b81cd53dd Mon Sep 17 00:00:00 2001 From: Ariejan de Vroom Date: Fri, 7 Sep 2018 15:02:43 +0200 Subject: [PATCH] MathJax --- .../layouts/partials/footer_scripts.html | 38 +++++++++++++++++-- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/themes/cocoa-eh/layouts/partials/footer_scripts.html b/themes/cocoa-eh/layouts/partials/footer_scripts.html index 5afa9f2..c07f296 100644 --- a/themes/cocoa-eh/layouts/partials/footer_scripts.html +++ b/themes/cocoa-eh/layouts/partials/footer_scripts.html @@ -7,6 +7,38 @@ }); + + + + {{ if .Site.Params.highlightjs }} {{ range .Site.Params.highlightjslanguages }} @@ -60,13 +92,13 @@ importFAB.onerror = function() { // If the script does not load (blocked, integrity error, ...) // Then a detection is triggered - adBlockDetected(); + adBlockDetected(); }; importFAB.integrity = 'sha256-xjwKUY/NgkPjZZBOtOxRYtK20GaqTwUCf7WYCJ1z69w='; importFAB.crossOrigin = 'anonymous'; importFAB.src = 'https://cdnjs.cloudflare.com/ajax/libs/fuckadblock/3.2.1/fuckadblock.min.js'; document.head.appendChild(importFAB); - } + } {{ template "_internal/google_analytics_async.html" . }} @@ -102,4 +134,4 @@ ga('create', 'UA-60089-16', 'auto'); ga('send', 'pageview'); - \ No newline at end of file +