{{tpl:extends parent="__layout.html"}}

<tpl:Block name="head-title">
    <title>{{tpl:lang Search results for &quot;}}{{tpl:SysSearchString encode_html="1"}}{{tpl:lang &quot;}} {{tpl:lang on}} {{tpl:BlogName encode_html="1"}}</title>
</tpl:Block>

<tpl:Block name="head-description"></tpl:Block>

<tpl:Block name="head-link-loop">
    <link rel="contents" href="{{tpl:BlogArchiveURL}}" title="{{tpl:lang Archives}}">

    <tpl:Entries no_content="1">
        <tpl:EntriesHeader>
            <tpl:Pagination>
                <tpl:PaginationIf end="0">
                    <link rel="prev" title="{{tpl:lang Previous entries}}" href="{{tpl:PaginationURL offset="1"}}">
                </tpl:PaginationIf>

                <tpl:PaginationIf start="0">
                    <link rel="next" title="{{tpl:lang Next entries}}" href="{{tpl:PaginationURL offset="-1"}}">
                </tpl:PaginationIf>
            </tpl:Pagination>
        </tpl:EntriesHeader>

        <link rel="chapter" href="{{tpl:EntryURL}}" title="{{tpl:EntryTitle encode_html="1"}}">
    </tpl:Entries>
</tpl:Block>

<tpl:Block name="head-link-feeds"></tpl:Block>

<tpl:Block name="main-content">
    <div id="content-info">
        <h1 class="content-title">{{tpl:lang Search of &quot;}}{{tpl:SysSearchString}}{{tpl:lang &quot;}}</h1>

        <tpl:SysIf search_count="==1">
            <p>{{tpl:SysSearchString encode_html="1" string="Your search returned <strong>one</strong> result."}}</p>
        </tpl:SysIf>

        <tpl:SysIf search_count="&gt;1">
            <p>{{tpl:SysSearchString encode_html="1" string="Your search returned <strong>%2$s</strong> results."}}</p>
        </tpl:SysIf>
    </div>

    <tpl:SysIf search_count="==0">
        <p>{{tpl:SysSearchString encode_html="1" string="No results."}}</p>
    </tpl:SysIf>

    <tpl:Entries>
        {{tpl:include src="_entry-excerpt.html"}}

        <tpl:EntriesFooter>
            {{tpl:include src="_pagination.html"}}
        </tpl:EntriesFooter>
    </tpl:Entries>
</tpl:Block>