Add autofocus

This commit is contained in:
Raven Scott 2024-09-26 19:53:01 -04:00
parent 8f5e21119d
commit 82ce418c09

View File

@ -36,7 +36,7 @@
<p class="lead"><%= process.env.FRONT_PAGE_LEAD %></p>
<form action="/" method="get" class="mb-4">
<div class="input-group">
<input type="text" id="search-input" name="search" class="form-control" placeholder="Search blog posts..." value="<%= typeof searchQuery !== 'undefined' ? searchQuery : '' %>">
<input type="text" id="search-input" name="search" class="form-control" placeholder="Search blog posts..." value="<%= typeof searchQuery !== 'undefined' ? searchQuery : '' %>" autofocus>
</div>
</form>
</div>