From 03fef66d5516f14e8c3a63784ccdc1a9fa492934 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Wed, 11 Mar 2020 19:38:47 +0100 Subject: Fix searching in HTML format by appending js --- plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/base/src/main/kotlin/renderers') diff --git a/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt b/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt index 787f2b69..a72c77ea 100644 --- a/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt +++ b/plugins/base/src/main/kotlin/renderers/html/htmlPreprocessors.kt @@ -20,7 +20,7 @@ object SearchPageInstaller : PageTransformer { name = "Search", children = emptyList(), strategy = RenderingStrategy { - buildHtml(it, listOf("styles/style.css", "scripts/pages.js")) { + buildHtml(it, listOf("styles/style.css", "scripts/pages.js", "scripts/search.js")) { h1 { id = "searchTitle" text("Search results for ") -- cgit