If I use the default code for Site Search where layout is set to the default “Site Search List” I get search results fine.
However, I want to create a custom layout for the list items.
If I follow treepl docs it says they are located in Pages > Layouts.
Firstly I note, if I go to this directory there is no file named “Site Search List” representing the default list.
If I make a file in this directory called “Search List Item”,
populated with {{this['name']}}
for testing,
and try to reference it in the search results module ie … layout: “Search List Item”…,
I see no results when I perform a search.
I’ve tried many variants around this setup to try to make this work, but cant get any results.
Where do I put and how do I reference the custom layout file for Search Results?