2020-07-31 13:48:01 +00:00
|
|
|
{{ define "title" }}
|
2020-10-12 16:47:23 +00:00
|
|
|
<title>{{ with p .Data "title" }}{{ . }} - {{end}}{{ .Blog.Title }}</title>
|
2020-11-01 17:37:21 +00:00
|
|
|
{{ include "postheadmeta" . }}
|
2020-12-22 21:15:29 +00:00
|
|
|
{{ with shorturl .Data }}<link rel="shortlink" href="{{ . }}">{{ end }}
|
2020-07-31 13:48:01 +00:00
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ define "main" }}
|
|
|
|
<main class=h-entry>
|
|
|
|
<article>
|
2020-11-01 17:37:21 +00:00
|
|
|
<data class="u-url hide" value="{{ absolute .Data.Path }}"></data>
|
|
|
|
{{ with title .Data }}<h1 class=p-name>{{ . }}</h1>{{ end }}
|
|
|
|
{{ include "postmeta" . }}
|
|
|
|
{{ include "postactions" . }}
|
|
|
|
{{ if .Data.Content }}
|
2020-11-03 17:00:03 +00:00
|
|
|
{{ include "oldcontentwarning" . }}
|
2020-11-01 17:37:21 +00:00
|
|
|
<div class=e-content>
|
|
|
|
{{ with p .Data "audio" }}
|
2020-11-03 17:00:03 +00:00
|
|
|
<audio controls preload="none" class="fw"><source src="{{ . }}"/></audio>
|
2020-09-01 17:08:57 +00:00
|
|
|
{{ end }}
|
2020-11-01 17:37:21 +00:00
|
|
|
{{ content .Data }}
|
|
|
|
{{ with p .Data "link" }}
|
|
|
|
<p><a class="u-bookmark-of" href="{{ . }}" target="_blank" rel="noopener">{{ . }}</a></p>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2020-09-01 17:08:57 +00:00
|
|
|
{{ end }}
|
2020-11-01 17:37:21 +00:00
|
|
|
{{ include "posttax" . }}
|
|
|
|
</article>
|
|
|
|
{{ include "author" . }}
|
2020-07-31 13:48:01 +00:00
|
|
|
</main>
|
2020-11-06 17:45:31 +00:00
|
|
|
{{ include "interactions" . }}
|
2020-07-31 19:02:47 +00:00
|
|
|
{{ end }}
|
|
|
|
|
2020-08-05 17:14:10 +00:00
|
|
|
{{ define "post" }}
|
2020-07-31 19:02:47 +00:00
|
|
|
{{ template "base" . }}
|
2020-07-31 13:48:01 +00:00
|
|
|
{{ end }}
|