From 4551ab6bae563fd59afe7d3d857335d438b68acc Mon Sep 17 00:00:00 2001
From: Tobias Schmidl
Date: Mon, 2 Oct 2017 16:02:30 +0200
Subject: [Just-Read] Conditionally enable Google Analytics
As I personally don't have Google Analytics, I don't want to load the
script with empty default values.
---
Just-Read/templates/base.html | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
(limited to 'Just-Read/templates/base.html')
diff --git a/Just-Read/templates/base.html b/Just-Read/templates/base.html
index cf31d29..d04298c 100644
--- a/Just-Read/templates/base.html
+++ b/Just-Read/templates/base.html
@@ -62,12 +62,13 @@
Proudly powered by Pelican.
-
+ {% if GOOGLE_ANALYTICS %}
+ {% endif %}