2016-01-15 05:40:27 +01:00
|
|
|
<section>
|
2023-04-15 01:36:29 +02:00
|
|
|
<h1 class="content-title">
|
2023-04-25 15:43:15 +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 -}}
|
|
|
|
<p class="date">{{ .Date.Format "2006-01-02" }}</p>
|
|
|
|
{{- 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>
|