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

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.DisqusShortname -}}
  8. <h2>Comments</h2>
  9. {{ template "_internal/disqus.html" . }}
  10. {{- end }}
  11. {{- end }}