diff --git a/templates/Includes/Content.ss b/templates/Includes/Content.ss index 9e24c37..ff366ba 100755 --- a/templates/Includes/Content.ss +++ b/templates/Includes/Content.ss @@ -1,53 +1,49 @@ -
- <% if not $ExcludeHeader %> - <% include PageHeader %> - <% end_if %> +<% if not $ExcludeHeader %> + <% include PageHeader %> +<% end_if %> - <% if $CurrentElement %> - <%-- div class="element page-content-element"> -
-
-
$Content
+<% if $CurrentElement %> + <%-- div class="element page-content-element"> +
+
+
$Content
+
+
+
+ +
+ $CurrentElement +
+<% else %> + <% if $ElementalArea.Elements.Count %> + $ElementalArea + <% else_if $Content %> +
+
+ <% include DNADesign\Elemental\Models\ElementContent HTML=$Content %>
-
-
- -
- $CurrentElement -
- <% else %> -
- <% if $ElementalArea.Elements.Count %> - $ElementalArea - <% else_if $Content %> -
-
- <% include DNADesign\Elemental\Models\ElementContent HTML=$Content %> -
-
- <% end_if %>
<% end_if %> +<% end_if %> - <% if $Form %> -
+<% if $Form %> +
+
+
+ $Form +
+
+
+<% end_if %> + +<% if $ExtraCode %> +
+
- $Form + $ExtraCode
- <% end_if %> - - <% if $ExtraCode %> -
-
-
-
- $ExtraCode -
-
-
-
- <% end_if %>
+<% end_if %> diff --git a/templates/Includes/MainContent.ss b/templates/Includes/MainContent.ss index 042f2a8..85ca7af 100755 --- a/templates/Includes/MainContent.ss +++ b/templates/Includes/MainContent.ss @@ -7,17 +7,16 @@
<% end_if %> - <% if $URLSegment != 'home' %> -
- $Breadcrumbs -
- <% end_if %> - <% if $SideBarContent || $SideBarView && $SideBarView.Widgets.Count %>
+ <% if $URLSegment != 'home' %> +
+ $Breadcrumbs +
+ <% end_if %> $Layout
<% else %>
+ <% if $URLSegment != 'home' %> +
+ $Breadcrumbs +
+ <% end_if %> $Layout
<% end_if %>