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

29 lines
762 B
HTML
Raw Normal View History

2017-09-07 22:41:16 +03:00
{{ define "main" -}}
<div class="post">
<h1 class="title">{{ .Title }}</h1>
{{ with .Params.tagline }}<span class="tagline">{{ . }}</span>{{ end }}
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> &middot; {{ .ReadingTime }} min read
2020-02-10 20:38:11 +02:00
</div>
{{- end }}
<div>
2017-09-07 22:41:16 +03:00
{{ .Content }}
</div>
{{ partial "tags.html" . }}
{{ if (and (ne .Params.DisableShare true) (ne .Params.disable_share true)) -}}
{{ partial "share.html" . }}
{{- end }}
2017-09-07 22:41:16 +03:00
</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>
{{ 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 }}