silverstripe-webpack/app/templates/Page.ss

73 lines
2.6 KiB
Scheme
Raw Normal View History

2018-02-05 12:11:01 +01:00
<!DOCTYPE html>
<html lang="$ContentLocale.ATT" dir="$i18nScriptDirection.ATT">
<%-- manifest="/cache.appcache" --%>
<head>
<% include MetaHead %>
2018-02-05 12:11:01 +01:00
</head>
2018-03-24 11:45:31 +01:00
2018-08-26 12:46:03 +02:00
<body oncontextmenu="return false;"<% with $SiteConfig %> data-default-lng="$Longitude" data-default-lat="$Latitude"<% end_with %>>
2019-07-18 08:09:58 +02:00
<% include First %>
2018-09-15 00:55:42 +02:00
<div class="wrapper">
2019-11-07 19:26:33 +01:00
<header id="Header">
<% include Header %>
</header>
2018-02-05 12:11:01 +01:00
<main id="MainContent" data-ajax-region="LayoutAjax">
<% if $ParentID %>
<div id="PageBreadcumbs">
$Breadcrumbs
</div>
2020-05-24 09:04:07 +02:00
<% else_if $URLSegment != 'home' %>
<div id="PageBreadcumbs">
2020-05-24 09:04:07 +02:00
$URLSegment
<nav class="breadcrumbs $DefaultContainer" aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="/">Home</a>
</li>
<li class="breadcrumb-item current active" aria-current="page">
<a href="$Link" class="breadcrumb-2">
$MenuTitle
</a>
</li>
</ol>
</nav>
</div>
<% end_if %>
2020-06-15 20:48:26 +02:00
<% if $SideBarContent || $SideBarView && $SideBarView.Widgets.Count %>
2020-05-14 14:06:58 +02:00
<div class="content-holder content-holder__sidebar">
<div class="{$DefaultContainer}">
<div class="row">
2020-06-15 20:48:26 +02:00
<div class="col-md-9 layout__col">
2020-05-14 14:06:58 +02:00
$Layout
</div>
2020-06-15 20:48:26 +02:00
<div class="col-md-3 sidebar__col">
2020-05-14 14:06:58 +02:00
<div class="page-content-sidebar page-content jsSidebarUI">
<div class="jsSidebarUI__inner">
2020-06-15 20:48:26 +02:00
$SideBarContent
2020-05-14 14:06:58 +02:00
$SideBarView
</div>
2020-02-07 20:51:42 +01:00
</div>
</div>
</div>
</div>
</div>
<% else %>
2020-05-14 14:06:58 +02:00
<div class="content-holder">
$Layout
</div>
<% end_if %>
</main>
</div>
2019-08-27 17:25:05 +02:00
<footer id="Footer" class="site-footer footer">
<% include Footer %>
2018-02-05 12:11:01 +01:00
</footer>
2019-12-17 21:43:28 +01:00
<% include Last %>
2018-02-05 12:11:01 +01:00
</body>
2018-06-23 12:27:06 +02:00
</html>