{{ partial "header.html" . }}

<main class="list">
    <header class="list__header list__header--image" style="background-image: url(img/{{ .Title | lower | singularize }}/header.jpg);">
        <h1 class="list__title">{{ .Title | humanize | singularize }}</h1>
    </header>

    <div class="list__entries">
        {{ range .Data.Pages }}
        <article class="list__entry entry">
            <h2 class="entry__title"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
            <time class="entry__timestamp" datetime="{{ .Date }}">{{ .Date.Format "January 2, 2006 15:04" }} {{ if isset .Params "timezone" }}{{ .Params.timezone }}{{ else }}{{ .Date.Format "MST" }}{{ end }}</time>

            <div class="entry__summary text">
                {{ .Summary | plainify | safeHTML }}
            </div>
        </article>
        {{ end }}
    </div>
</main>

{{ partial "footer.html" . }}

{{ partial "header.html" . }}

<main class="list">
    <header class="list__header{{ if .Params.image }} list__header--image{{ end }}"{{ with .Params.image }} style="background-image: url({{ . }});"{{ end }}>
        <h1 class="list__title">{{ .Title }}</h1>
    </header>

    <div class="list__entries">
        {{ range .Data.Pages }}
        <article class="list__entry entry">
            <h2 class="entry__title"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
            <time class="entry__timestamp" datetime="{{ .Date }}">{{ .Date.Format "January 2, 2006 15:04" }} {{ if isset .Params "timezone" }}{{ .Params.timezone }}{{ else }}{{ .Date.Format "MST" }}{{ end }}</time>

            <div class="entry__summary text">
                {{ .Summary | plainify | safeHTML }}
            </div>
        </article>
        {{ end }}
    </div>
</main>

{{ partial "footer.html" . }}

Use explicit parameter for header image
Use explicit parameter for header image
