summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
blob: 2317495b6b2f01556bc461532b1a954981bc2a29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{{ define "main" -}}
<div class="post">
  <h1>{{ .Title }}</h1>
  <span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
  {{ .Content }}
</div>

{{ if .Site.Params.disqusShortname -}}
<h2>Comments</h2>
{{ partial "disqus" . }}
{{- end }}
{{- end }}