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

28 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">
2021-01-13 20:03:21 +01:00
<div class="col-xl-4">
<a id="Logo" class="logo" href="/">
<img src="{$ResourcesURL('logo.svg')}" width="100" alt="{$SiteConfig.Title}" />
</a>
2021-01-04 08:02:01 +01:00
<% with $SiteConfig %>
<% if $Tagline %>
<div class="tagline">$Tagline</div>
<% end_if %>
<% end_with %>
2019-11-07 19:26:33 +01:00
</div>
2021-01-13 20:03:21 +01:00
<div class="col-xl-8 nav-container">
2020-05-24 09:04:07 +02:00
<% if $Menu(1) %>
<% include Navigation Navigation=$Menu(1), NavID="Navigation" %>
<% end_if %>
<%-- if $SearchForm %>
<div id="SearchFormContainer">$SearchForm</div>
<% end_if --%>
2020-05-24 09:04:07 +02:00
<%-- if $SiteConfig.Navigation %>
<% include Navigation Navigation=$SiteConfig.Navigation, NavID="Navigation" %>
2020-05-24 09:04:07 +02:00
<% end_if --%>
</div>
2019-11-07 19:26:33 +01:00
</div>
</div>
</div>