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

28 lines
759 B
HTML
Raw Normal View History

2019-09-03 15:50:00 +00:00
{{ define "main" }}
2019-09-05 15:01:57 +00:00
<main class="main h-entry">
<article>
2019-09-03 15:50:00 +00:00
<header class="main-header">
2019-11-19 08:22:33 +00:00
{{ with .Title }}
<h1 class="p-name post-title">{{ . }}</h1>
{{ end }}
{{ with partial "post_meta.html" . }}
2019-09-03 15:50:00 +00:00
<div class="post-meta">{{ . }}</div>
2019-11-19 08:22:33 +00:00
{{ end }}
2019-09-03 15:50:00 +00:00
</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 }}
2019-09-03 15:50:00 +00:00
</div>
{{ partial "post_tags.html" . }}
</article>
2019-09-05 15:01:57 +00:00
{{ partial "authorbox.html" . }}
2019-09-03 15:50:00 +00:00
</main>
{{ partial "webmentionform" . }}
2019-12-12 08:09:31 +00:00
{{ partial "mentions.html" . }}
2019-09-03 15:50:00 +00:00
{{ partial "post_nav.html" . }}
{{ end }}