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">
|
2020-06-15 20:52:15 +03:00
|
|
|
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}">{{ .Date.Format "Jan 2, 2006" }}</time> · {{ .ReadingTime }} min read
|
2020-02-10 20:38:11 +02:00
|
|
|
</div>
|
|
|
|
{{- end }}
|
|
|
|
|
2017-09-07 22:41:16 +03:00
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
2014-04-27 01:25:13 +03:00
|
|
|
|
2020-06-15 23:08:36 +03:00
|
|
|
{{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
|
2017-09-07 22:41:16 +03:00
|
|
|
<h2>Comments</h2>
|
2017-09-07 22:52:10 +03:00
|
|
|
{{ 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 }}
|