1
Fork 0
theorangeone.net-legacy/layouts/_default/list.html

28 lines
756 B
HTML
Raw Normal View History

2017-04-22 23:24:13 +01:00
{{ partial "page_start.html" . }}
<div id="page-wrapper">
<section id="main" class="container">
<header>
<h2>{{ title .Title }}</h2>
</header>
2017-04-23 12:05:02 +01:00
{{ if .Content }}
<div class="box">
2017-05-09 09:36:14 +01:00
{{ if .Params.image }}
<span class="image featured"><img src="{{ .Params.image }}" alt="{{ .Title }} image" /></span>
{{ end }}
2017-04-23 12:05:02 +01:00
{{ .Content }}
</div>
{{ end }}
<div class="row">
2017-05-09 09:13:41 +01:00
{{ $parent := . }}
2017-05-08 20:53:49 +01:00
{{ range where .Pages.ByTitle "Params.show_in_nav" "!=" "false" }}
2017-05-09 09:13:41 +01:00
{{ if $parent.Params.show_images }}
{{ partial "box_image.html" . }}
{{ else }}
{{ partial "box.html" . }}
{{ end }}
2017-04-23 12:05:02 +01:00
{{ end }}
</div>
2017-04-22 23:24:13 +01:00
</section>
</div>
{{ partial "page_end.html" . }}