diff --git a/config.toml b/config.toml index 71daaa5..cc43c88 100644 --- a/config.toml +++ b/config.toml @@ -15,3 +15,7 @@ theme = "paperesque" [[params.topmenu]] name = "consulting" url = "consulting/" + +[services] + [services.googleAnalytics] + ID = 'G-CDK4087KM8' diff --git a/themes/paperesque/layouts/_default/baseof.html b/themes/paperesque/layouts/_default/baseof.html index 6a98692..18fc3ec 100644 --- a/themes/paperesque/layouts/_default/baseof.html +++ b/themes/paperesque/layouts/_default/baseof.html @@ -1,55 +1,56 @@ - - - - - {{ partial "meta.html" . }} - - {{ .Title }}{{ if not .IsHome }} || {{ $.Site.Title }}{{ end }} - - - {{ with .Site.Params.RSSCanonicalLink }} - - {{ else }} - {{- with .OutputFormats.Get "rss" -}} - {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} - {{- end -}} - {{ end }} - - {{ partial "head_includes.html" . }} - - - - + + + + + + {{ template "_internal/google_analytics.html" . }} + + {{ partial "meta.html" . }} + + {{ .Title }}{{ if not .IsHome }} || {{ $.Site.Title }}{{ end }} + + + {{ with .Site.Params.RSSCanonicalLink }} + + {{ else }} + {{- with .OutputFormats.Get "rss" -}} + {{ printf ` + ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{- end -}} + {{ end }} + + {{ partial "head_includes.html" . }} + + + + + {{ block "content" . }}{{ end }} {{ if not .Params.hide_footer }} - {{ block "footer" . }}{{ end }} + {{ block "footer" . }}{{ end }} {{ end }} - - + + + \ No newline at end of file