hugo-theme-hyde-hyde/layouts/_default/single.html
2017-09-07 21:45:12 +02:00

12 lines
No EOL
239 B
HTML

{{ 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>
{{- end }}
{{- end }}