22 lines
888 B
HTML
22 lines
888 B
HTML
{{ if in (add "page" "section") .Kind }}
|
|
<header class="flex flex-col meta">
|
|
{{- partial "taxonomy.html" . -}}
|
|
<h1 itemprop="name" class="text-center text-3xl my-4 md:my-6">{{ .Title }}</h1>
|
|
{{ if and (not .Params.disableMeta) .IsPage }}
|
|
<h3 class="text-center text-xl">
|
|
{{ with $.Site.Params.AuthorName }}
|
|
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
|
|
<span itemprop="name">{{ . }}</span>
|
|
{{ end }}
|
|
{{ if .Params.date }}
|
|
{{ if $.Site.Params.AuthorName }} / {{ end }}
|
|
<span itemprop="datePublished"
|
|
content="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "2006-01-02" }}</span>
|
|
{{ end }}
|
|
</h3>
|
|
{{ end }}
|
|
</header>
|
|
{{ end }}
|
|
{{ if in (add "page" "section") .Kind }}
|
|
<hr class="block my-10 mx-auto max-w-xs h-px border-t border-black">
|
|
{{ end }} |