summaryrefslogtreecommitdiff
path: root/templates/image.hbs
diff options
context:
space:
mode:
authorJakob L. Kreuze <zerodaysfordays@sdf.org>2020-06-14 19:07:39 -0400
committerJakob L. Kreuze <zerodaysfordays@sdf.org>2020-06-14 19:07:39 -0400
commite8020d1ec67c3f6e2e645ba80039d30db45950a9 (patch)
tree50787657de987c1e0c3d39bac2b33cb958e6c3ed /templates/image.hbs
parent94d3fd454b8f70a430fc787357fdaccd7397e347 (diff)
Update semantics for web API (query string vs tag list).
Diffstat (limited to 'templates/image.hbs')
-rw-r--r--templates/image.hbs4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/image.hbs b/templates/image.hbs
index fab65d5..ae24f06 100644
--- a/templates/image.hbs
+++ b/templates/image.hbs
@@ -17,7 +17,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>
@@ -26,7 +26,7 @@
<h2>Tags</h2>
<ul>
{{#each tags}}
- <li><a href="/posts?tags={{ . }}">{{ . }}</a></li>
+ <li><a href="/posts?query={{ . }}">{{ . }}</a></li>
{{/each}}
</ul>