{{- define "main" -}}

{{ .Title }}

{{- if gt .Lastmod .Date -}} Updated on {{- else -}} {{- end -}}

{{ .Content }} {{- if (and (in (slice "blog" "code") .Type) (or .Params.categories .Params.tags .NextInSection .PrevInSection)) -}} {{- end -}}
{{- end -}}