2016-01-15 05:40:27 +01:00
|
|
|
<section>
|
2023-04-15 01:36:29 +02:00
|
|
|
<h1 class="content-title">
|
2023-05-25 13:03:42 +02:00
|
|
|
{{- .Title -}}{{- if .Draft -}} :: Draft{{- end -}}
|
2023-04-15 01:36:29 +02:00
|
|
|
</h1>
|
2023-04-25 16:19:09 +02:00
|
|
|
{{- if .Params.subtitle -}}
|
|
|
|
<p class=subtitle>{{ .Params.subtitle }}</p>
|
|
|
|
{{- end -}}
|
2023-04-15 01:36:29 +02:00
|
|
|
|
2023-04-25 16:19:09 +02:00
|
|
|
{{- if and (.IsPage) (.Params.meta) -}}
|
|
|
|
<span class="content-meta">
|
|
|
|
{{- if .Params.author -}}
|
|
|
|
<p class="author">{{ .Params.author }}</p>
|
2023-04-23 20:55:52 +02:00
|
|
|
{{- end -}}
|
2023-04-15 01:36:29 +02:00
|
|
|
|
2023-04-25 16:19:09 +02:00
|
|
|
{{- if not .Params.hidedate -}}
|
2023-10-11 13:57:54 +02:00
|
|
|
<p class="date">
|
|
|
|
{{ if .Site.Params.dateFormatLong }}
|
|
|
|
{{ .Date.Format .Site.Params.dateFormatLong }}
|
|
|
|
{{ else }}
|
|
|
|
{{ .Date.Format "2006-01-02" }}
|
|
|
|
{{ end }}</p>
|
2023-04-25 16:19:09 +02:00
|
|
|
{{- end -}}
|
2023-04-15 01:36:29 +02:00
|
|
|
|
2023-04-25 16:19:09 +02:00
|
|
|
{{- if not .Params.hidereadtime -}}
|
|
|
|
<span>{{ .ReadingTime }} min read </span>
|
|
|
|
{{- end -}}
|
2023-04-15 01:36:29 +02:00
|
|
|
|
2023-04-25 16:19:09 +02:00
|
|
|
{{- range .Params.tags -}}
|
|
|
|
<a href="{{ "/tags/" | absURL }}{{ . | urlize }}">{{ . }}</a>
|
2023-04-23 20:55:52 +02:00
|
|
|
{{- end -}}
|
2023-04-25 16:19:09 +02:00
|
|
|
</span>
|
2023-04-23 20:55:52 +02:00
|
|
|
{{- end -}}
|
2023-04-23 21:19:13 +02:00
|
|
|
</section>
|