Basic search functionality on the frontpage, I want to add support for

more advanced searches like using boolean operators, but right now it's
pretty basic.
This commit is contained in:
2025-10-01 10:40:36 +01:00
parent 8ad8f01043
commit 521dbccc7e
4 changed files with 32 additions and 9 deletions

View File

@@ -1,5 +1,6 @@
<a href="/"><%= locale.home_page %></a>
<a href="/index/pages"><%= locale.site_index %></a>
<a href="<%= config.new_post_url %>"><%= locale.new_post %></a>
<form method="GET" action="/search" style="display: inline"><label>Search: </label><input type="text" placeholder="🔍" name="q"><input type="submit" value="Submit"></form>
<br/>
<%- config.seperator %>