From 1939a12a2502be0899158aa89f5e1da4d23bcd64 Mon Sep 17 00:00:00 2001 From: Rob Johnson Date: Sat, 21 Sep 2024 12:33:49 -0700 Subject: [PATCH] edit website to remove tealium and switch to gtm (#634) --- .../template/layouts/_default/baseof.html | 71 ++++++++++++------- 1 file changed, 47 insertions(+), 24 deletions(-) diff --git a/docs/site/themes/template/layouts/_default/baseof.html b/docs/site/themes/template/layouts/_default/baseof.html index ae806b0d..0aa29134 100644 --- a/docs/site/themes/template/layouts/_default/baseof.html +++ b/docs/site/themes/template/layouts/_default/baseof.html @@ -1,45 +1,68 @@ - + + - - - - - + + + + + + + + - {{ if .Title }}{{ .Title }}{{ else }}Documentation{{ end }} - {{ with .Site.Params.description }}{{ end }} - {{ with .Site.Params.author }}{{ end }} - {{ $options := (dict "targetPath" "css/style.css" "outputStyle" "compressed" "enableSourceMap" true "includePaths" (slice "node_modules/myscss")) }} + {{ with .Site.Params.description }} + {{ end }} + {{ with .Site.Params.author }} + {{ end }} + {{ $options := (dict "targetPath" "css/style.css" "outputStyle" "compressed" "enableSourceMap" true "includePaths" + (slice "node_modules/myscss")) }} {{ $style := resources.Get "scss/site.scss" | resources.ToCSS $options }} - + {{ with .OutputFormats.Get "RSS" -}} - {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} + {{ printf ` + ` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} {{- end }} + + + + + {{ partial "header" . }} {{ block "main" . }}{{ end }} {{ partial "getting-started" . }} {{ partial "footer" . }} - {{ if .Site.Params.docs_search }} - - - {{ end }} + {{ if .Site.Params.docs_search }} + + + {{ end }} - + + \ No newline at end of file