diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/posts.html | 6 | ||||
-rw-r--r-- | _includes/search.html | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/_includes/posts.html b/_includes/posts.html index 05eebe7..cdd9b47 100644 --- a/_includes/posts.html +++ b/_includes/posts.html @@ -1,10 +1,6 @@ <link rel="stylesheet" href="style.css"> -<form id="search" method="get" action="https://google.com/search"> - <input type="text" placeholder="search" name="q" spellcheck="false" autocomplete="off"> - <input type="hidden" name="q" value="site:{{ site.domain }}"> - <input type="submit"> -</form> +{% include search.html %} <table id="posts" class="plainlink"> <tr> diff --git a/_includes/search.html b/_includes/search.html new file mode 100644 index 0000000..cc8cd56 --- /dev/null +++ b/_includes/search.html @@ -0,0 +1,6 @@ +<form id="search" method="get" action="https://google.com/search"> + <input type="text" placeholder="search" name="q" spellcheck="false" autocomplete="off"> + <input type="hidden" name="q" value="site:{{ site.domain }}"> + <input type="submit"> +</form> + |