30 lines
890 B
HTML
30 lines
890 B
HTML
{{ partial "page_start.html" . }}
|
|
<div id="page-wrapper">
|
|
<section id="main" class="container">
|
|
<header>
|
|
<h2>{{ title .Title }}</h2>
|
|
</header>
|
|
{{ if .Content }}
|
|
<div class="box">
|
|
{{ if .Params.image }}
|
|
<span class="image featured main" data-image="{{ .Params.image }}"></span>
|
|
{{ end }}
|
|
{{ .Content }}
|
|
</div>
|
|
{{ end }}
|
|
{{ if ne .Params.hide_pages "true" }}
|
|
<div class="row">
|
|
{{ $parent := . }}
|
|
{{ $valid_pages := where .Site.Pages.ByTitle ".Parent" "!=" nil }}
|
|
{{ range where $valid_pages ".Parent.UniqueID" $parent.UniqueID }}
|
|
{{ if $parent.Params.show_images }}
|
|
{{ partial "box_image.html" . }}
|
|
{{ else }}
|
|
{{ partial "box.html" . }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
</section>
|
|
</div>
|
|
{{ partial "page_end.html" . }}
|