Remove double page wrapper
This commit is contained in:
parent
38a5488da4
commit
e5c62c99b1
2 changed files with 18 additions and 22 deletions
|
@ -1,20 +1,18 @@
|
||||||
{{ partial "page_start.html" . }}
|
{{ partial "page_start.html" . }}
|
||||||
<div id="page-wrapper">
|
<section id="main" class="container">
|
||||||
<section id="main" class="container">
|
{{ partial "content.html" . }}
|
||||||
{{ partial "content.html" . }}
|
{{ if ne .Params.hide_pages "true" }}
|
||||||
{{ if ne .Params.hide_pages "true" }}
|
<div class="row">
|
||||||
<div class="row">
|
{{ $parent := . }}
|
||||||
{{ $parent := . }}
|
{{ $valid_pages := where .Site.Pages.ByTitle ".Parent" "!=" nil }}
|
||||||
{{ $valid_pages := where .Site.Pages.ByTitle ".Parent" "!=" nil }}
|
{{ range where $valid_pages ".Parent.UniqueID" $parent.UniqueID }}
|
||||||
{{ range where $valid_pages ".Parent.UniqueID" $parent.UniqueID }}
|
{{ if $parent.Params.show_images }}
|
||||||
{{ if $parent.Params.show_images }}
|
{{ partial "box_image.html" . }}
|
||||||
{{ partial "box_image.html" . }}
|
{{ else }}
|
||||||
{{ else }}
|
{{ partial "box.html" . }}
|
||||||
{{ partial "box.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
{{ end }}
|
||||||
{{ end }}
|
</div>
|
||||||
</section>
|
{{ end }}
|
||||||
</div>
|
</section>
|
||||||
{{ partial "page_end.html" . }}
|
{{ partial "page_end.html" . }}
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
{{ partial "page_start.html" . }}
|
{{ partial "page_start.html" . }}
|
||||||
<div id="page-wrapper">
|
<section id="main" class="container">
|
||||||
<section id="main" class="container">
|
{{ partial "content.html" . }}
|
||||||
{{ partial "content.html" . }}
|
</section>
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
{{ partial "page_end.html" . }}
|
{{ partial "page_end.html" . }}
|
||||||
|
|
Loading…
Reference in a new issue