From becb2f87ab6a8c1a54a44009948d12944f295aba Mon Sep 17 00:00:00 2001 From: Valentin Sundermann Date: Sat, 10 Jun 2017 13:52:48 +0200 Subject: [PATCH 1/2] Add feature to use Isso for comments --- layouts/blog/single.html | 3 +++ layouts/partials/footer_scripts.html | 9 +++++++++ layouts/partials/head_includes.html | 8 ++++++++ 3 files changed, 20 insertions(+) diff --git a/layouts/blog/single.html b/layouts/blog/single.html index d490f2f..3123c53 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -50,6 +50,9 @@
{{ template "_internal/disqus.html" . }}
+ {{ if .Site.Params.issoHost }} +
+ {{ end }} diff --git a/layouts/partials/footer_scripts.html b/layouts/partials/footer_scripts.html index 506cd6d..7b39eaa 100644 --- a/layouts/partials/footer_scripts.html +++ b/layouts/partials/footer_scripts.html @@ -18,6 +18,15 @@ {{ end }} +{{ if .Site.Params.issoHost }} + +{{ end }} + {{ template "_internal/google_analytics_async.html" . }}