2016-01-15 05:40:27 +01:00
|
|
|
<section>
|
2021-07-21 20:23:55 +02:00
|
|
|
|
|
|
|
<h1 class="content-title">
|
|
|
|
{{ if .IsNode }}
|
|
|
|
<a href="{{ .Permalink }}">{{ .Title}}</a>
|
|
|
|
{{ else }}
|
|
|
|
<a href="{{ .RelPermalink }}">{{ .Title }}{{ if .Draft }} :: Draft {{end}}</a>
|
2015-12-30 03:35:20 +01:00
|
|
|
{{ end }}
|
2021-07-21 20:23:55 +02:00
|
|
|
</h1>
|
|
|
|
{{ if .IsPage }}
|
|
|
|
{{ if .Params.subtitle }}
|
|
|
|
<p class=subtitle>{{ .Params.subtitle }}</p>
|
2015-12-30 03:35:20 +01:00
|
|
|
{{ end }}
|
2021-07-21 20:23:55 +02:00
|
|
|
{{ if or (eq .Type "post") (.Params.meta) }}
|
|
|
|
<span class="content-meta">
|
|
|
|
{{ if .Params.author }}
|
|
|
|
<i class="fa fa-user"> </i><span class="author">
|
|
|
|
{{ .Params.author }}</span> <br>
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{ if not .Params.hidedate }}
|
|
|
|
<i class="fa fa-calendar"></i>
|
|
|
|
{{ .Date.Format "Jan 2, 2006" }}
|
|
|
|
{{end }}
|
|
|
|
|
|
|
|
{{ if not .Params.hidereadtime }}
|
|
|
|
<i class="fa fa-clock-o"></i>
|
|
|
|
{{ .ReadingTime }} min read
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
{{ if .Params.categories }}
|
|
|
|
<br>
|
|
|
|
<i class="fa fa-tags"> </i>
|
|
|
|
{{ range .Params.categories }}
|
|
|
|
<a href="{{ "/categories/" | absURL }}{{ . | urlize }}">{{ . }}</a>
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</span>
|
2015-12-30 03:35:20 +01:00
|
|
|
{{ end }}
|
2021-07-21 20:23:55 +02:00
|
|
|
{{ end }}
|
|
|
|
</section>
|