mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-07 09:02:29 +00:00
25 lines
687 B
HTML
25 lines
687 B
HTML
<header class='header'>
|
|
<div class='container sep-after'>
|
|
<div class='header-info'>
|
|
<h1 class='title'>
|
|
{{- if eq .Kind "term" -}}
|
|
<span class='taxonomy-name'>
|
|
{{- ( ( i18n .Data.Singular 1 ) | default .Data.Singular ) -}}
|
|
{{- print ": " -}}
|
|
</span>
|
|
{{- end -}}
|
|
|
|
{{- if eq .Kind "taxonomy" -}}
|
|
{{- ( ( i18n .Data.Singular 2 ) | default .Title ) -}}
|
|
{{- else if eq .Data.Singular "author" -}}
|
|
{{- partial "data/author/displayName" . -}}
|
|
{{- else -}}
|
|
{{- .Title -}}
|
|
{{- end -}}
|
|
</h1>
|
|
|
|
{{ partial "header/description" . }}
|
|
</div>
|
|
</div>
|
|
</header>
|