diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c4b53958..2b97c6fa 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,6 +11,7 @@ {{ partialCached "page/footer" . }} {{ partial "scripts/shortcodes" . }} +{{ partialCached "scripts/simple_analytics" . }} diff --git a/layouts/partials/scripts/simple_analytics.html b/layouts/partials/scripts/simple_analytics.html new file mode 100644 index 00000000..231b312c --- /dev/null +++ b/layouts/partials/scripts/simple_analytics.html @@ -0,0 +1,4 @@ +{{ if eq hugo.Environment "production" }} + + +{{ end }}