summaryrefslogtreecommitdiff
path: root/_includes/gw_tools/search_github.html
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2018-12-17 16:16:43 +0100
committerYehonal <yehonal.azeroth@gmail.com>2018-12-17 21:00:26 +0100
commit4feaace4929a07cc34c4bcd6c57334be2d95ec31 (patch)
tree8b2b272a40a9c002d8d0c18831fd95bd03a246e3 /_includes/gw_tools/search_github.html
parent1ffe35e8bed26b833bf873f6062a548aa26e2598 (diff)
downloadwiki-4feaace4929a07cc34c4bcd6c57334be2d95ec31.tar.gz
wiki-4feaace4929a07cc34c4bcd6c57334be2d95ec31.tar.bz2
wiki-4feaace4929a07cc34c4bcd6c57334be2d95ec31.zip
Implemented js search and SEO optimizations
Diffstat (limited to '_includes/gw_tools/search_github.html')
-rw-r--r--_includes/gw_tools/search_github.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/_includes/gw_tools/search_github.html b/_includes/gw_tools/search_github.html
new file mode 100644
index 0000000..efcc5e8
--- /dev/null
+++ b/_includes/gw_tools/search_github.html
@@ -0,0 +1,10 @@
+<form method="GET" action="{{ site.github.repository_url }}/search">
+ <input type="text" name="q[]" placeholder="Text to search">
+ {% if site.use_github_wiki %}
+ <input type="hidden" name="type" value="Wikis">
+ {% else %}
+ <!-- <input type="hidden" name="l" value="Markdown"> -->
+ <input type="hidden" name="q[]" value="path:/{{ site.wiki_folder }}">
+ {% endif %}
+ <input type="submit" value="Search">
+</form> \ No newline at end of file