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