jlelse
/
Indieroad
Archived
1
Fork 0
This repository has been archived on 2020-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
Indieroad/layouts/_default/single.html

30 lines
849 B
HTML

{{ define "main" }}
<main class="main h-entry">
<article>
<header class="main-header">
{{ with .Title }}
<h1 class="p-name post-title">{{ . }}</h1>
{{ end }}
{{ if not .Params.nometa }}
{{ with partial "post_meta.html" . }}
<div class="post-meta">{{ . }}</div>
{{ end }}
{{ 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><a class="u-bookmark-of" href="{{ . }}" target="_blank">{{ . }}</a></p>
{{ end }}
</div>
{{ partial "post_tags.html" . }}
</article>
{{ partial "authorbox.html" . }}
</main>
{{ partial "webmentionform" . }}
{{ partial "mentions.html" . }}
{{ partial "post_nav.html" . }}
{{ end }}