mirror of
https://github.com/a2nt/cms-niceties.git
synced 2024-10-22 11:05:46 +02:00
FIX: Sidebar
This commit is contained in:
parent
7920ba81c7
commit
cced355f31
@ -1,45 +1,45 @@
|
|||||||
<div class="main-content main-content--{$CSSClass}">
|
<div class="main-content main-content--{$CSSClass}">
|
||||||
<% if $HeroImageRecursive %>
|
<% if $HeroImageRecursive %>
|
||||||
<div class="element element__hero-image">
|
<div class="element element__hero-image">
|
||||||
<div class="element-container">
|
<div class="element-container">
|
||||||
<% include SlideItem Image=$HeroImageRecursive, SlideWidth='2140', SlideHeight='450' %>
|
<% include SlideItem Image=$HeroImageRecursive, SlideWidth='2140', SlideHeight='450' %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<% if $ShowSidebar %>
|
<% if $SideBarContent || $SideBarView && $SideBarView.Widgets.Count %>
|
||||||
<div class="content-holder content-holder__sidebar">
|
<div class="content-holder content-holder__sidebar">
|
||||||
<div class="{$DefaultContainer}">
|
<div class="{$DefaultContainer}">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-9 layout__col">
|
<div class="col-md-9 layout__col">
|
||||||
<% if $URLSegment != 'home' %>
|
<% if $URLSegment != 'home' %>
|
||||||
<div id="PageBreadcumbs" class="element element__breadcrumbs">
|
<div id="PageBreadcumbs" class="element element__breadcrumbs">
|
||||||
$Breadcrumbs
|
$Breadcrumbs
|
||||||
</div>
|
</div>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
$Layout
|
$Layout
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3 sidebar__col">
|
<div class="col-md-3 sidebar__col">
|
||||||
<div class="{$DefaultContainer}">
|
<div class="{$DefaultContainer}">
|
||||||
<div class="page-content-sidebar page-content jsSidebarUI">
|
<div class="page-content-sidebar page-content jsSidebarUI">
|
||||||
<div class="jsSidebarUI__inner">
|
<div class="jsSidebarUI__inner">
|
||||||
$SideBarContent
|
$SideBarContent
|
||||||
$SideBarView
|
$SideBarView
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% else %>
|
<% else %>
|
||||||
<div class="content-holder">
|
<div class="content-holder">
|
||||||
<% if $URLSegment != 'home' %>
|
<% if $URLSegment != 'home' %>
|
||||||
<div id="PageBreadcumbs" class="element element__breadcrumbs">
|
<div id="PageBreadcumbs" class="element element__breadcrumbs">
|
||||||
$Breadcrumbs
|
$Breadcrumbs
|
||||||
</div>
|
</div>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
$Layout
|
$Layout
|
||||||
</div>
|
</div>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user