From def6159bb864eb2d4398765dcbb1183bc8f3af08 Mon Sep 17 00:00:00 2001 From: Hauke Stieler Date: Tue, 4 Sep 2018 06:32:29 +0200 Subject: Add support for tracking scripts via layouts/partials/tracking.html --- layouts/partials/header.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'layouts/partials') diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 41f5d56..37a44fc 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -47,6 +47,10 @@ {{ if eq .URL "/" }} {{ end }} + + {{ if (fileExists "layouts/partials/tracking.html") }} + {{ partial "tracking.html" . }} + {{ end }} {{ if isset .Params "image" }} -- cgit v1.2.3