I want to make a search page and it should list entries only in statamic.
My code is
{{ search:results index="default" }}
{{ if no_results }}
<h2>No results found for {{ get:q }}.</h2>
{{ else }}
<a href="{{ url }}">
<h2>{{ title }}</h2>
<p>{{ description | truncate:180 }}</p>
</a>
{{ /if }}
{{ /search:results }}
Result Coming
in this code it loads entries, Taxonomy everything in result
Expected Result
It should load only entries from collection
Note: I have tried using {{entries}} {{/entries}}, but it doesn't worked