2020-06-03 08:46:59 +02:00
|
|
|
<header>
|
2020-05-27 20:35:46 +02:00
|
|
|
|
2020-05-27 21:20:01 +02:00
|
|
|
{{ if .Title }}
|
2021-03-12 18:48:49 +01:00
|
|
|
<h1 class="p-name" id="header">
|
2020-05-27 21:20:01 +02:00
|
|
|
{{ with .Params.icontag }}
|
2021-03-12 18:48:49 +01:00
|
|
|
<svg class='icon'><title>page type</title><use xlink:href='#{{ . }}'></use></svg>
|
2020-05-27 20:35:46 +02:00
|
|
|
{{ end }}
|
2020-05-30 10:04:25 +02:00
|
|
|
{{ .Title }}
|
|
|
|
</h1>
|
2021-03-12 18:48:49 +01:00
|
|
|
{{ end }}
|
2020-05-30 17:41:38 +02:00
|
|
|
{{ if isset .Params "subtitle" }}
|
2021-03-12 18:48:49 +01:00
|
|
|
<h2 class="p-summary">{{ .Params.subtitle }}</h2>
|
2020-06-29 17:35:06 +02:00
|
|
|
{{ end }}
|
2021-03-12 18:48:49 +01:00
|
|
|
|
2020-06-29 17:35:06 +02:00
|
|
|
{{ if isset .Params "date" }}
|
2020-05-30 10:04:25 +02:00
|
|
|
<h3>
|
2020-06-03 08:46:59 +02:00
|
|
|
{{ if isset .Params "date" }}
|
2021-03-09 11:55:58 +01:00
|
|
|
<svg class='icon icon-text' width='24' height='24'>
|
2021-03-12 18:48:49 +01:00
|
|
|
<title>published icon</title>
|
2021-03-09 11:55:58 +01:00
|
|
|
<use xlink:href='#cal1'></use>
|
|
|
|
</svg>
|
2021-02-28 11:06:55 +01:00
|
|
|
<time datetime='{{ .Date.Format "2006-01-02" }}' class="dt-published">
|
2021-03-01 20:00:41 +01:00
|
|
|
<a class="u-url u-uid" href="{{ .RelPermalink }}">
|
|
|
|
{{ .Date.Format (.Site.Params.dateFormat | default "2 January 2006") }}
|
|
|
|
</a>
|
2020-06-03 08:46:59 +02:00
|
|
|
</time>
|
|
|
|
{{ end }}
|
2020-06-16 08:35:59 +02:00
|
|
|
{{ if isset .Params "categories" }}
|
|
|
|
|
|
|
|
|
<span title="Categories">
|
|
|
|
<svg class='icon icon-text' width='24' height='24'>
|
2021-03-12 18:48:49 +01:00
|
|
|
<title>category icon</title>
|
2020-06-16 08:35:59 +02:00
|
|
|
<use xlink:href='#folder'></use>
|
|
|
|
</svg>
|
|
|
|
{{ range .Params.categories }}
|
2021-03-19 20:43:23 +01:00
|
|
|
<a class="p-category" href="/categories/{{ . }}">{{ . }}</a>
|
2020-06-16 08:35:59 +02:00
|
|
|
{{ end }}
|
|
|
|
</span>
|
|
|
|
{{ end }}
|
2020-05-30 10:04:25 +02:00
|
|
|
</h3>
|
2020-05-27 21:20:01 +02:00
|
|
|
{{ end }}
|
2020-05-27 20:35:46 +02:00
|
|
|
|
2020-05-27 21:20:01 +02:00
|
|
|
{{ if isset $.Params "tags" }}
|
2020-06-03 10:21:45 +02:00
|
|
|
<svg class='icon icon-text' width='24' height='24'>
|
2021-03-12 18:48:49 +01:00
|
|
|
<title>tags icon</title>
|
|
|
|
<use xlink:href='#tag'></use>
|
2020-06-03 10:21:45 +02:00
|
|
|
</svg>
|
2020-05-27 21:20:01 +02:00
|
|
|
{{ end }}
|
2020-06-10 15:51:32 +02:00
|
|
|
<span class='list-tags'>
|
|
|
|
{{ range .Params.tags }}
|
2021-03-19 20:43:23 +01:00
|
|
|
<a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}"><kbd class="item-tag p-category">{{ . }}</kbd></a>
|
2020-06-10 15:51:32 +02:00
|
|
|
{{ end }}
|
|
|
|
</span>
|
2020-05-27 20:35:46 +02:00
|
|
|
|
2020-06-03 08:46:59 +02:00
|
|
|
</header>
|