hugo-theme-hyde-hyde/layouts/_default/single.html

12 lines
263 B
HTML
Raw Normal View History

2017-09-07 21:41:16 +02:00
{{ define "main" -}}
<div class="post">
<h1>{{ .Title }}</h1>
<span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
{{ .Content }}
</div>
2014-04-26 16:25:13 -06:00
2017-09-07 21:41:16 +02:00
{{ if .Site.Params.disqusShortname -}}
<h2>Comments</h2>
{{ partial "disqus" . }}
{{- end }}
{{- end }}