diff options
author | Hauke Stieler <mail@hauke-stieler.de> | 2018-09-04 07:32:29 +0300 |
---|---|---|
committer | Hauke Stieler <mail@hauke-stieler.de> | 2018-09-04 07:32:29 +0300 |
commit | def6159bb864eb2d4398765dcbb1183bc8f3af08 (patch) | |
tree | 20f88293cd862f0e7d50e118511157a354a35234 /layouts/partials | |
parent | 1d8233793e096d8709cd4e05c581cc41e6154716 (diff) |
Add support for tracking scripts via layouts/partials/tracking.html
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/header.html | 4 |
1 files changed, 4 insertions, 0 deletions
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 "/" }} <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> {{ end }} + + {{ if (fileExists "layouts/partials/tracking.html") }} + {{ partial "tracking.html" . }} + {{ end }} </head> <body> {{ if isset .Params "image" }} |