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

single.html 540B

12345678910111213141516171819
  1. {{ partial "head.html" . }}
  2. <body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}}">
  3. {{ partial "sidebar.html" . }}
  4. <div class="content container">
  5. <div class="post">
  6. <h1>{{ .Title }}</h1>
  7. <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
  8. {{ .Content }}
  9. </div>
  10. {{ if and (isset .Site.Params "disqusShortname") (ne .Site.Params.disqusShortname "") }}
  11. <h2>Comments</h2>
  12. {{ partial "disqus" . }}
  13. {{ end }}
  14. </div>
  15. </body>
  16. </html>