2020-12-06 12:49:50 +00:00
|
|
|
{{- define "main" }}
|
|
|
|
|
|
|
|
<header class="page-header">
|
2021-04-13 08:23:41 +01:00
|
|
|
<h1>{{ .Title }}
|
2020-12-06 12:49:50 +00:00
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" fill="none"
|
|
|
|
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
|
<circle cx="11" cy="11" r="8"></circle>
|
|
|
|
<line x1="21" y1="21" x2="16.65" y2="16.65"></line>
|
|
|
|
</svg>
|
|
|
|
</h1>
|
2021-01-27 15:49:21 +00:00
|
|
|
{{- if .Description }}
|
|
|
|
<div class="post-description">
|
|
|
|
{{ .Description }}
|
|
|
|
</div>
|
|
|
|
{{- end }}
|
2021-01-17 06:55:35 +00:00
|
|
|
{{- if not (.Param "hideMeta") }}
|
2020-12-06 12:49:50 +00:00
|
|
|
<div class="post-meta">
|
2021-02-06 18:20:19 +00:00
|
|
|
{{- partial "translation_list.html" . -}}
|
2020-12-06 12:49:50 +00:00
|
|
|
</div>
|
2021-03-30 13:37:36 +01:00
|
|
|
{{- end }}
|
2020-12-06 12:49:50 +00:00
|
|
|
</header>
|
|
|
|
|
2020-12-18 06:15:10 +00:00
|
|
|
<div id="searchbox">
|
2021-09-05 13:52:24 +01:00
|
|
|
<input id="searchInput" autofocus placeholder="{{ .Params.placeholder | default (printf "%s ↵" .Title) }}" aria-label="search" type="search">
|
2020-12-06 12:49:50 +00:00
|
|
|
<ul id="searchResults" aria-label="search results"></ul>
|
|
|
|
</div>
|
|
|
|
|
2021-02-07 16:04:34 +00:00
|
|
|
{{- end }}{{/* end main */}}
|