2017-02-28 09:56:46 -08:00
|
|
|
<!-- Renders Section Based on Content -->
|
2017-03-04 08:12:31 -08:00
|
|
|
{{ $parity := "odd" }} {{ range $i, $e := .Data.Pages }}
|
|
|
|
<section id="{{ .File.BaseFileName }}" class="section-{{ if modBool $i 2 }}odd{{ else }}even{{ end }} text-center">
|
2017-02-28 09:56:46 -08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-8 col-lg-offset-2">
|
|
|
|
<br/>
|
|
|
|
<h2>{{ .Title }}</h2>
|
|
|
|
<br/>
|
2017-03-04 08:12:31 -08:00
|
|
|
<div class="section-content">
|
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
2017-02-28 09:56:46 -08:00
|
|
|
<br/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
{{ end }}
|