silverstripe-simple/templates/Includes/Header.ss
Simon Welsh d3f9781866 Updates templates to more SS3-ready syntax
- Use $Name in if/loop
- Replace instances of control with loop
2012-10-27 16:15:51 +13:00

18 lines
406 B
Scheme

<header class="header" role="banner">
<div class="inner">
<a href="$BaseHref" class="brand" rel="home">
<h1>$SiteConfig.Title</h1>
<% if $SiteConfig.Tagline %>
<p>$SiteConfig.Tagline</p>
<% end_if %>
</a>
<% if $SearchForm %>
<span class="search-dropdown-icon">L</span>
<div class="search-bar">
$SearchForm
</div>
<% end_if %>
<% include Navigation %>
</div>
</header>