Add board search to index page

This commit is contained in:
discomrade 2021-09-28 09:36:14 +00:00
parent 191c7a5c66
commit c35c6a5dbe
2 changed files with 10 additions and 0 deletions

View file

@ -68,6 +68,13 @@
{% if config.home_link %}
| <a href="{{ config.root }}">Home</a>
{% endif %}
{% if board.uri %}
<form style="display:inline" action="/search.php">
| <input type="text" name="search" placeholder=" /{{ board.uri }}/ search">
<input type="hidden" name="board" value="{{ board.uri }}">
<input type="submit" value="Search">
</form>
{% endif %}
<hr />
<form name="postcontrols" action="{{ config.post_url }}" method="post">