From 7425b5f0498909087628465dfe6e6bfa4c42a422 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sun, 10 Jul 2022 20:13:20 +0200 Subject: Simplify search page --- layouts/partials/search-results.html | 9 --------- layouts/shortcodes/form-search.html | 15 +++++++++------ 2 files changed, 9 insertions(+), 15 deletions(-) delete mode 100644 layouts/partials/search-results.html (limited to 'layouts') diff --git a/layouts/partials/search-results.html b/layouts/partials/search-results.html deleted file mode 100644 index fd4c48d..0000000 --- a/layouts/partials/search-results.html +++ /dev/null @@ -1,9 +0,0 @@ -
-
-
- {{ i18n "search_results" }} - -
-
-
-
diff --git a/layouts/shortcodes/form-search.html b/layouts/shortcodes/form-search.html index e9a9175..f328f38 100644 --- a/layouts/shortcodes/form-search.html +++ b/layouts/shortcodes/form-search.html @@ -10,14 +10,17 @@ -
- -
-{{- partial "search-results" . -}} +
+
+
+ {{ i18n "search_results" }} + +
+
+
+
{{- $vendors := slice (resources.Get "js/vendor/lunr.js") -}} {{- $vendors = $vendors | append (resources.Get "js/vendor/lunr.multi.js" ) -}} -- cgit v1.2.3