Site Search

Try searching for the keyword "DEMO HTML". There are various dummy items on this site which include the word/tag "DEMO HTML" in either their name, body or search keywords.

See also Site Search Documentation for more information.

Clear

Results Output

Pending search results...

Code: (Search Page)

<p>Try searching for the keyword "DEMO HTML"... [OMITTED]</p>
<form action="">
    <input type="text" name="SearchKeyword">
    <input class="button" type="submit" value="Search"> <a href="/demo-cs/_search-results" class="button secondary hollow">Clear</a>
</form>
{% if request.request_url.params.SearchKeyword %}
    {% component type: "site_search", source: "Page", layout: "Demo Search List", displayPagination: "true", limit: "100", collectionVariable: "searchExample" %}
{% endif %}

Code: (Demo Search List Layout)

<h6><a href="{{this.Url}}">{{this.name}}</a></h6>
<p>{% if this.metaDescription != null %}{{this.metaDescription}}{% else %}{{this.description | raw | strip_html | truncatewords: 50}}{% endif %}</p>