This repository has been archived on 2020-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2020-05-24 07:30:26 +00:00
|
|
|
{{ define "main" }}
|
|
|
|
<main class="h-entry">
|
|
|
|
<article>
|
2020-05-24 08:08:44 +00:00
|
|
|
<data class="u-url hide" value="{{ .Permalink }}"></data>
|
2020-05-24 07:30:26 +00:00
|
|
|
{{ with .Title }}
|
|
|
|
<h1 class="p-name">{{ . }}</h1>
|
|
|
|
{{ end }}
|
|
|
|
{{ if not .Params.nometa }}
|
|
|
|
{{ partial "post_meta" . }}
|
|
|
|
{{ partial "post_actions" . }}
|
|
|
|
{{ end }}
|
|
|
|
{{ partial "oldcontentwarning" . }}
|
|
|
|
<div class="e-content">
|
|
|
|
{{ with .Params.audio }}
|
|
|
|
<audio controls preload="metadata" class="full-width"><source src="{{ . }}"/></audio>
|
|
|
|
{{ end }}
|
|
|
|
{{ .Content }}
|
|
|
|
{{ with .Params.externalUrl }}
|
|
|
|
<p><a class="u-bookmark-of" href="{{ . }}" target="_blank" rel="noopener">{{ . }}</a></p>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ partial "post_tags" . }}
|
|
|
|
</article>
|
|
|
|
{{ if (.Param "authorbox") }}{{ partialCached "authorbox" . }}{{ end }}
|
|
|
|
</main>
|
|
|
|
{{ partial "related" . }}
|
|
|
|
{{ partial "mentions" . }}
|
|
|
|
{{ end }}
|