Fork of @spf13's port of Mdo's excellent theme to Hugo https://brendan.abolivier.bzh/

single.html 239B

123456789101112
  1. {{ define "main" -}}
  2. <div class="post">
  3. <h1>{{ .Title }}</h1>
  4. <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
  5. {{ .Content }}
  6. </div>
  7. {{ if .Site.Params.disqusShortname -}}
  8. <h2>Comments</h2>
  9. {{- end }}
  10. {{- end }}