{{- define "stylesheet" -}} {{- $scss := resources.Get "/_default/single.scss" -}} {{- $style := $scss | resources.ToCSS -}} {{- end -}} {{- define "main" -}}

{{ if eq .Params.type "post" }}{{ .Date.Format "2. January 2006" }}{{ end }} {{- if eq .Params.type "singlepage" }}version: {{ .Date.Format "2006-01-02" }}{{ end }} {{- with .Params.author }}by {{ . }}{{ end }}

{{ .Title }}

{{ with .Params.featured_image }}{{ end }} {{ printf "" | safeHTML }} {{ .Content }} {{- printf "" | safeHTML }}
{{- if ne .Params.type "singlepage" }}
{{- end }}
{{- end }}