35 lines
813 B
Smarty
35 lines
813 B
Smarty
{extends "index.tpl"}
|
|
|
|
{block "meta-robots"}
|
|
{if $smarty.get.search}
|
|
<meta name="robots" content="noindex, follow">
|
|
{else}
|
|
{$smarty.block.parent}
|
|
{/if}
|
|
{/block}
|
|
|
|
{block "css-entry" append}
|
|
{encore_entry_link_tags entry='category'}
|
|
{/block}
|
|
|
|
{block "content"}
|
|
{block "tpl-vars"}
|
|
{$tpl_vars.search_v = $cfg.tpl.search.version}
|
|
{/block}
|
|
<div class="page-search {if !$body.searching}page-search-empty{/if}">
|
|
{if $body.searching}
|
|
{if $tpl_vars.search_v == 2}
|
|
{include "search/search.results.v2.tpl"}
|
|
{else}
|
|
{include "search/search.results.tpl"}
|
|
{/if}
|
|
{else}
|
|
{include "search/search.form.tpl"}
|
|
{/if}
|
|
</div>
|
|
{/block}
|
|
|
|
{block "js-entry" append}
|
|
{encore_entry_script_tags entry='category'}
|
|
{/block}
|