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

12 lines
272 B
HTML
Raw Normal View History

2017-09-07 19:41:16 +00: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 22:25:13 +00:00
{{ if .Site.DisqusShortname -}}
2017-09-07 19:41:16 +00:00
<h2>Comments</h2>
{{ template "_internal/disqus.html" . }}
2017-09-07 19:41:16 +00:00
{{- end }}
{{- end }}