diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/image.hbs | 4 | ||||
| -rw-r--r-- | templates/index.hbs | 4 |
2 files changed, 4 insertions, 4 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> 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> |