aboutsummaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-25 12:18:02 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-25 12:18:02 +0100
commit0403f2d5aeb1ce4e67fdbb30b65a728f80c1cc1f (patch)
treef508775c0b2ad8409a7e48c931ed09358d4a145c /_includes
parentf509e410bca55ff04b79b38a73e3751eff848c95 (diff)
add tag index
Diffstat (limited to '_includes')
-rw-r--r--_includes/posts.html6
-rw-r--r--_includes/search.html6
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>
+