2020-10-14 21:31:14 +00:00
|
|
|
{{ define "main" -}}
|
|
|
|
<main class="main layout__main">
|
|
|
|
<article class="{{ with .Section }}section-{{ . | urlize }} {{ end }}single-view">
|
|
|
|
<header>
|
|
|
|
<h1 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}">{{ .Title }}</h1>
|
|
|
|
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . }}{{ end -}}
|
|
|
|
{{ if .Params.tags }}{{ partial "tags.html" . }}{{ end -}}
|
|
|
|
</header>
|
|
|
|
<div class="content">
|
2020-10-15 00:22:54 +00:00
|
|
|
|
2020-10-14 21:31:14 +00:00
|
|
|
{{ .Content }}
|
|
|
|
|
|
|
|
{{ if ne .Lastmod .Date }}{{ partial "dates.html" . }}{{ end -}}
|
2020-10-15 00:22:54 +00:00
|
|
|
|
2020-10-14 21:31:14 +00:00
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</main>
|
|
|
|
{{ end }}
|