From c468993ee1122611c4be93cfcab871b8cc1806a8 Mon Sep 17 00:00:00 2001 From: Jim Pudar Date: Thu, 16 Apr 2020 16:59:00 -0400 Subject: [PATCH] Add Google Analytics to simple theme Fixes #2728 --- pelican/themes/simple/templates/base.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pelican/themes/simple/templates/base.html b/pelican/themes/simple/templates/base.html index 2c17dbfb..adbd74ef 100644 --- a/pelican/themes/simple/templates/base.html +++ b/pelican/themes/simple/templates/base.html @@ -1,6 +1,17 @@ + {% if GOOGLE_ANALYTICS %} + + + + {% endif %} {% block head %} {% block title %}{{ SITENAME }}{% endblock title %}