Blog search
To include a search form on the blog page of your theme, you just need to create an HTML form with its action attribute set to /blog. This will search blog posts matching via keyword.
Within this form you should have an input of type text with a name attribute set to to keywords.
An example is shown below.
<form action="/blog" method="get"> <input type="text" name="keywords"> <button type="submit">search</button> </form>
Once the search form has been submitted the user will be taken to the blog view with the matching results.
The keywords that a user has searched with can be outputted using the {{ keywords }} variable.