<!DOCTYPE html>
<html>
    <head>
        {{partial "head" .}}
    </head>
    <body>
        {{partial "header" .}}
        {{partial "banner-item" .}}
        {{partial "spritesheet" .}}
        <main>

            <article>
                {{.Content}}
                {{ if .Params.author}}
                {{end}}
                <hr>
                {{$author := index .Site.Data.details.staff (.Params.author | default "default")}}
                {{partial "metadata" .}}
                {{if $author}}
                <p>Thoughts or questions? <a href="mailto:{{$author.email}}?RE:subject={{.Title}}">Reply to this post</a></p>
                {{end}}
            </article>
        </main>
        {{partial "footer" .}}
    </body>
</html>