27 lines
727 B
HTML
27 lines
727 B
HTML
{{ define "main" }}
|
|
<main class="main h-entry">
|
|
<article>
|
|
<header class="main-header">
|
|
{{ with .Title }}
|
|
<h1 class="p-name post-title">{{ . }}</h1>
|
|
{{ end }}
|
|
{{ with partial "post_meta.html" . }}
|
|
<div class="post-meta">{{ . }}</div>
|
|
{{ end }}
|
|
</header>
|
|
<div class="e-content content clearfix">
|
|
{{ with .Params.audio }}
|
|
<p><audio controls preload="metadata" style="width: 100%;"><source src="{{ . }}"/></audio></p>
|
|
{{ end }}
|
|
{{ .Content }}
|
|
{{ with .Params.externalUrl }}
|
|
<p>{{ . | markdownify }}</p>
|
|
{{ end }}
|
|
</div>
|
|
{{ partial "post_tags.html" . }}
|
|
</article>
|
|
{{ partial "authorbox.html" . }}
|
|
</main>
|
|
{{ partial "webmentionform" . }}
|
|
{{ partial "post_nav.html" . }}
|
|
{{ end }} |