From c7ec14c266e443ea7c455ca9a3dd10ba743c4752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sun, 15 Jul 2018 22:43:02 +0200 Subject: review of search --- layouts/_default/baseof.html | 2 + layouts/_default/search.html | 10 +-- layouts/_default/single.html | 5 +- static/js/search.js | 163 +++++++++++++++++++++---------------------- 4 files changed, 89 insertions(+), 91 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 85993a1..7f7c5ae 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,5 +6,7 @@ {{- partial "header.html" . -}} {{- block "main" . }}{{- end }} {{- partial "footer.html" . -}} + + {{- block "footerfiles" . }}{{- end }} diff --git a/layouts/_default/search.html b/layouts/_default/search.html index 7dd02df..817f4b5 100644 --- a/layouts/_default/search.html +++ b/layouts/_default/search.html @@ -8,7 +8,7 @@ {{ define "main" }}
-
+
@@ -20,9 +20,11 @@ {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2d1cd68..1fab028 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -20,7 +20,8 @@