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

31 lines
609 B
HTML
Raw Normal View History

2021-07-18 10:34:01 +02:00
{{ define "main" }}
<main>
<h1>{{ .Title }}</h1>
<div class="sm-1 mtb-1">
Posted at &mdash; {{ dateFormat "Jan 2, 2006" .Date }}
{{ if .Draft }}
<span class="tag ml-1">
DRAFT
</span>
{{ end }}
</div>
<p>{{ .Description }}</p>
<article class="md">
{{ .Content }}
</article>
</main>
2021-07-19 08:36:50 +02:00
{{ if or .Params.math .Site.Params.math }}
{{ partial "math.html" . }}
{{ end }}
{{ if and .Params.comment (eq .Site.Params.comment "disqus")}}
{{ partial "disqus.html" . }}
{{ end }}
{{ if and .Params.comment (eq .Site.Params.comment "ovo")}}
{{ partial "ovo.html" . }}
{{ end }}
2021-07-18 10:34:01 +02:00
{{ end }}