jlelse
/
Indiego
Archived
1
Fork 0
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.
Indiego/layouts/_default/single.html

27 lines
771 B
HTML

{{ define "main" }}
<main class="h-entry">
<article>
{{ 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 }}