{{ define "main" }}
{{ .Title | markdownify }}
{{ with .Params.author }}{{ . }}
{{ end }}
{{ if (gt .Params.date 0) }}{{ .Date.Format "2006-01-02" }}
{{ end }}
{{ .Content }}
{{- end }}
layouts/_default/single.html (view raw)
layouts/_default/single.html (view raw)
{{ define "main" }}
{{ .Title | markdownify }}
{{ with .Params.author }}{{ . }}
{{ end }}
{{ if (gt .Params.date 0) }}{{ .Date.Format "2006-01-02" }}
{{ end }}
{{ .Content }}
{{- end }}