about summary refs log tree commit diff stats
path: root/layouts/_default/single.html
blob: 735bbf7c6f58c31f84bd062edc69c3d41954d2db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{{ define "main" -}}
<div class="post">
  <h1>{{ .Title }}</h1>
  <time datetime={{ .Date.Format "2006-01-02T15:04:05Z0700" }} class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</time>
  {{ .Content }}
</div>

{{ if .Site.DisqusShortname -}}
<h2>Comments</h2>
{{ template "_internal/disqus.html" . }}
{{- end }}
{{- end }}