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

25 lines
459 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>
{{ if or .Params.math .Site.Params.math }}
{{ partial "math.html" . }}
{{ end }}
2021-07-18 12:54:56 +02:00
{{ if .Params.comment }}
2021-07-18 10:34:01 +02:00
{{ partial "disqus.html" . }}
{{ end }}
{{ end }}