{{- /* Note: changing the baseof template because the title, tags, etc. of a regular post are still valid. */ -}} {{- partial "head.html" . -}} {{ $writingcss := resources.Get "scss/writing.scss" | css.Sass | resources.Minify }} {{ if .Params.custom_css }} {{ range $customCss := .Params.custom_css }} {{ $renderedCustomCss := page.Resources.Get $customCss | css.Sass (dict "includePaths" (slice "themes/vanilla/assets/scss")) | resources.Minify }} {{ end }} {{ end }} {{ with .Params.body_start_partial }} {{ partial . $ }} {{ end }} {{- partial "header.html" . -}}

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