16 lines
483 B
HTML
16 lines
483 B
HTML
{{ define "main" -}}
|
|
<main class="main layout__main">
|
|
<article class="single-view{{ with .Section }} single-view--{{ . | urlize }}{{ end }}">
|
|
<header>
|
|
<h1 class="title{{ if $.Param "submitted" | default false }} mb--xxs{{ end }}">{{ .Title }}</h1>
|
|
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . }}{{ end -}}
|
|
{{ if .Params.tags }}{{ partial "tags.html" . }}{{ end -}}
|
|
</header>
|
|
|
|
{{ partial "podcast.html" . -}}
|
|
|
|
{{ .Content }}
|
|
</article>
|
|
</main>
|
|
{{ end -}}
|