{{- /* Note: changing the baseof template because the title, tags, etc. of a regular post are still valid. */ -}}
<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
    {{- partial "head.html" . -}}
    <body>
        {{ $writingcss := resources.Get "scss/writing.scss" | css.Sass | resources.Minify }}
        <link rel="stylesheet" href="{{ $writingcss.Permalink }}">
        {{ $voidcss := resources.Get "scss/thevoid.scss" | css.Sass | resources.Minify }}
        <link rel="stylesheet" href="{{ $voidcss.Permalink }}">
        {{- partial "header.html" . -}}
        <div class="container"><hr class="header-divider"></div>
        <main class="container">

        {{- if .Draft -}}
        {{- partial "warning.html" (i18n "postDraft") -}}
        {{- end -}}

        {{- block "main" . }}{{- end }}
        </main>
        {{- block "after" . }}{{- end }}
    </body>
</html>
