diff options
| author | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2020-06-14 19:07:39 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2020-06-14 19:07:39 -0400 |
| commit | e8020d1ec67c3f6e2e645ba80039d30db45950a9 (patch) | |
| tree | 50787657de987c1e0c3d39bac2b33cb958e6c3ed /templates/index.hbs | |
| parent | 94d3fd454b8f70a430fc787357fdaccd7397e347 (diff) | |
Update semantics for web API (query string vs tag list).
Diffstat (limited to 'templates/index.hbs')
| -rw-r--r-- | templates/index.hbs | 4 |
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> |