From 00a1a1cc17a5ca9acc3a6ba977760827e5e7ca01 Mon Sep 17 00:00:00 2001 From: a Date: Mon, 19 Dec 2022 10:20:54 -0600 Subject: [PATCH] only load search index on search page --- layouts/_default/baseof.html | 6 ------ layouts/partials/site-footer.html | 4 +--- layouts/search/list.html | 1 + 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 1230015..e2e28f1 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -54,12 +54,6 @@ {{ partial "styles/borders.html" . }} {{ end -}} -{{- /* import Fork Awesome (TODO: replace with proper SVG icons?) */ -}} - - {{ partial "seo.html" . -}} {{- block "head" . -}} {{ end }} diff --git a/layouts/partials/site-footer.html b/layouts/partials/site-footer.html index f30a509..67116e5 100644 --- a/layouts/partials/site-footer.html +++ b/layouts/partials/site-footer.html @@ -5,6 +5,4 @@ {{ partial "nav-social.html" . }} back to top - -{{ partial "search/search-index.html" . }} - + \ No newline at end of file diff --git a/layouts/search/list.html b/layouts/search/list.html index 8319ad3..0207e80 100644 --- a/layouts/search/list.html +++ b/layouts/search/list.html @@ -18,4 +18,5 @@ +{{ partial "search/search-index.html" . }} {{ end }} \ No newline at end of file