{{ define "main" }}
{{ if not .Params.hideTitle }}

{{ .Title }}

{{ end }} {{ $configDateFormat := .Site.Params.dateFormat | default "2 Jan 2006" }} {{ with .Date }} {{ $ISO_time := dateFormat "2006-01-02T15:04:05-07:00" . }} {{ end }}
{{ if or .Description .Params.tags }}
{{ with .Description }}

{{ . }}

{{ end }} {{ with .Params.tags }} {{ end }}
{{ end }} {{ with .Params.cover }}
{{ with .attribution }} {{ . | safeHTML }} {{ end }}
{{ end }} {{ partial "toc.html" .}}
{{ .Content }}
{{- partial "comments.html" . -}}
{{ end }}