summaryrefslogtreecommitdiff
path: root/templates/index.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.hbs')
-rw-r--r--templates/index.hbs4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/index.hbs b/templates/index.hbs
index 1279a5e..e481203 100644
--- a/templates/index.hbs
+++ b/templates/index.hbs
@@ -21,7 +21,7 @@
<section id="search">
<h2>Search</h2>
<form id="search-box" method="GET" action="/posts">
- <input id="tags" name="tags" type="text" autocomplete="off">
+ <input id="tags" name="query" type="text" autocomplete="off">
<button id="search-box-submit" type="submit">Search</button>
</form>
</section>
@@ -30,7 +30,7 @@
<h2>Tags</h2>
<ul>
{{#each tags}}
- <li><a href="/posts?tags={{ name }}">{{ name }}</a> {{ count }}</li>
+ <li><a href="/posts?query={{ name }}">{{ name }}</a> {{ count }}</li>
{{/each}}
</ul>
</section>