silverstripe-webpack/app/templates/Includes/Header.ss

30 lines
1.1 KiB
Scheme
Raw Normal View History

2019-11-07 19:26:33 +01:00
<div class="element">
<div class="element__container $DefaultContainer">
<div class="row">
<div class="col-sm-4">
<a id="Logo" href="/"><img src="{$ResourcesURL('logo.png')}" alt="{$SiteConfig.Title}" /></a>
2019-11-07 19:26:33 +01:00
</div>
<div class="col-sm-8 text-right">
<% with $SiteConfig %>
<% if $PhoneNumber %>
<span class="phone-number">
$PhoneNumber
</span>
<% end_if %>
<% if $PublicEmail %>
<span class="public-email">
$PublicEmail
</span>
<% end_if %>
<% end_with %>
<%-- if $SearchForm %>
<div id="SearchFormContainer">$SearchForm</div>
<% end_if --%>
<% if $SiteConfig.Navigation %>
<% include Navigation Navigation=$SiteConfig.Navigation, NavID="Navigation" %>
2019-11-07 19:26:33 +01:00
<% end_if %>
</div>
2019-11-07 19:26:33 +01:00
</div>
</div>
</div>