pi-www-theme-soho/layouts/_default/single.html

20 lines
460 B
HTML
Raw Normal View History

2017-09-07 22:41:16 +03:00
{{ define "main" -}}
<div class="post">
<h1>{{ .Title }}</h1>
2020-02-10 20:38:11 +02:00
{{ if ne .Type "page" -}}
<div class="post-date">
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time> · {{ .ReadingTime }} min read
</div>
{{- end }}
2017-09-07 22:41:16 +03:00
{{ .Content }}
</div>
2014-04-27 01:25:13 +03:00
2020-02-10 20:38:11 +02:00
{{ if (and .Site.DisqusShortname (eq .Params.DisableComments false)) -}}
2017-09-07 22:41:16 +03:00
<h2>Comments</h2>
{{ template "_internal/disqus.html" . }}
2017-09-07 22:41:16 +03:00
{{- end }}
2020-02-10 20:38:11 +02:00
2018-08-29 20:18:14 +03:00
{{- end }}