2016-01-15 05:40:27 +01:00
|
|
|
<section>
|
2023-04-15 01:36:29 +02:00
|
|
|
|
|
|
|
<h1 class="content-title">
|
2023-04-23 20:55:52 +02:00
|
|
|
{{- if .IsNode -}}
|
|
|
|
{{- .Title -}}
|
|
|
|
{{- else -}}
|
|
|
|
{{- .Title -}}{{- if .Draft -}} :: Draft {{- end -}}
|
|
|
|
{{- end -}}
|
2023-04-15 01:36:29 +02:00
|
|
|
</h1>
|
|
|
|
|
2023-04-23 20:55:52 +02:00
|
|
|
{{- if .IsPage -}}
|
|
|
|
{{- if .Params.subtitle -}}
|
|
|
|
<p class=subtitle>{{ .Params.subtitle }}</p>
|
|
|
|
{{- end -}}
|
2023-04-15 01:36:29 +02:00
|
|
|
|
2023-04-23 20:55:52 +02:00
|
|
|
{{- if or (eq .Type "post") (.Params.meta) -}}
|
2023-04-15 01:36:29 +02:00
|
|
|
<span class="content-meta">
|
2023-04-23 20:55:52 +02:00
|
|
|
{{- if .Params.author -}}
|
2023-04-17 18:20:14 +02:00
|
|
|
<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-23 20:55:52 +02:00
|
|
|
{{- if not .Params.hidedate -}}
|
2023-04-17 18:20:14 +02:00
|
|
|
<p class="date">{{ .Date.Format "2006-01-02" }}</p>
|
2023-04-23 20:55:52 +02:00
|
|
|
{{- end -}}
|
2023-04-15 01:36:29 +02:00
|
|
|
|
2023-04-23 20:55:52 +02:00
|
|
|
{{- if not .Params.hidereadtime -}}
|
|
|
|
<span>{{ .ReadingTime }} min read </span>
|
|
|
|
{{- end -}}
|
2023-04-15 01:36:29 +02:00
|
|
|
|
2023-04-23 20:55:52 +02:00
|
|
|
{{- range .Params.categories -}}
|
|
|
|
<a href="{{ "/categories/" | absURL }}{{ . | urlize }}">{{ . }}</a>
|
|
|
|
{{- end -}}
|
2023-04-15 01:36:29 +02:00
|
|
|
</span>
|
2023-04-23 20:55:52 +02:00
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
2023-04-15 01:36:29 +02:00
|
|
|
|
|
|
|
</section>
|