From 4feaace4929a07cc34c4bcd6c57334be2d95ec31 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Mon, 17 Dec 2018 16:16:43 +0100 Subject: Implemented js search and SEO optimizations --- _includes/gw_tools/search_module.html | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) (limited to '_includes/gw_tools/search_module.html') diff --git a/_includes/gw_tools/search_module.html b/_includes/gw_tools/search_module.html index f79335a..7664e19 100644 --- a/_includes/gw_tools/search_module.html +++ b/_includes/gw_tools/search_module.html @@ -1,25 +1,3 @@ -{% if site.google_cse_token %} - - -{% else %} -
- - {% if site.use_github_wiki %} - - {% else %} - - - {% endif %} - -
-{% endif %} \ No newline at end of file +{% assign se = site.search_engine | default: "github" %} +{% assign file = "gw_tools/search_" | append: se | append: ".html" %} +{% include {{file}} %} \ No newline at end of file -- cgit