From a1d90162cbf73d0d4d6000ffc404d7d8c7a170ed Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 27 Feb 2020 13:16:08 +0100 Subject: [PATCH] move script loads to end of body --- layouts/_default/baseof.html | 1 + layouts/partials/head.html | 8 -------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index caa456d..cecbbdb 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -27,4 +27,5 @@ +{{ partial "foot" . }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 43b8e3f..2d10cde 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -9,14 +9,6 @@ -{{ if default true .Site.Params.GeekdocSearch }} - {{ .Scratch.Set "geekdocSearchConfig" .Site.Params.GeekdocSearchConfig }} - - {{ $searchJSFile := printf "js/%s.search.js" .Language.Lang }} - {{ $searchJS := resources.Get "js/search.js" | resources.ExecuteAsTemplate $searchJSFile . | resources.Minify }} - -{{ end }} - {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}