{{ define "meta" }} {{ partial "single_meta.html" . -}} {{ end }} {{ define "main" -}} {{ .Title }} {{ with $.Param "author" }}{{ . }} – {{ end -}} {{ .Date.Format "2 January, 2006" }} {{ .Content }} {{ partial "menu.html" . -}} {{ if $.Param "sidebar" | default true }}{{ partial "sidebar.html" . -}}{{ end }} {{ end }}
{{ with $.Param "author" }}{{ . }} – {{ end -}} {{ .Date.Format "2 January, 2006" }}