2021-07-18 10:34:01 +02:00
|
|
|
{{ define "main" }}
|
2021-08-04 03:49:55 +02:00
|
|
|
{{ if .Params.toc }}
|
|
|
|
{{ partial "toc.html" . }}
|
|
|
|
{{ end }}
|
2021-07-18 10:34:01 +02:00
|
|
|
<main>
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
<div class="sm-1 mtb-1">
|
|
|
|
Posted at — {{ 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-08-04 03:49:55 +02:00
|
|
|
{{ if or .Params.math .Site.Params.math }}
|
|
|
|
{{ partial "math.html" . }}
|
|
|
|
{{ end }}
|
2021-07-19 08:36:50 +02:00
|
|
|
|
2021-08-04 03:49:55 +02:00
|
|
|
{{ if and .Params.comment (eq .Site.Params.comment "disqus")}}
|
|
|
|
{{ partial "disqus.html" . }}
|
|
|
|
{{ end }}
|
2021-07-19 08:36:50 +02:00
|
|
|
|
2021-08-04 03:49:55 +02:00
|
|
|
{{ if and .Params.comment (eq .Site.Params.comment "ovo")}}
|
|
|
|
{{ partial "ovo.html" . }}
|
2021-07-18 10:34:01 +02:00
|
|
|
{{ end }}
|
|
|
|
|
2021-08-04 03:49:55 +02:00
|
|
|
{{ end }}
|