{{ define "main" }}
<article class="article-page">
    {{ with .Params.img }}
    <div class="page-image">
        <div class="cover-image" style="background: url(/assets/img/{{.}}) center no-repeat; background-size: cover;"></div>
    </div>
    {{ end }}
    <div class="wrapper{{ if .Params.img }} with-image{{ end }}">
        <div class="page-content">
            <div class="header-page">
                <h1 class="page-title">{{ .Title | safeHTML }}</h1>
                {{ with .Params.subtitle }}
                <h2 class="page-title">{{.}}</h2>
                {{ end }}
                {{ if .Params.toc }}
                {{ .TableOfContents }}
                {{ end }}
            </div>
            {{ .Content | safeHTML }}
            <div class="page-footer">
                {{ partial "donate.html" }}
            </div>
        </div>
    </div> <!-- End Wrapper -->
</article>
{{ end }}
