13 lines
412 B
HTML
13 lines
412 B
HTML
<h1 class="page-header__title">{{ .title | default .page.Title | markdownify }}</h1>
|
|
|
|
{{- with .page.Params.subtitle -}}
|
|
<p class="page-header__subtitle">{{ . | markdownify }}</p>
|
|
{{- end }}
|
|
|
|
{{ if not .page.IsNode }}
|
|
{{- with .page.PublishDate -}}
|
|
<time class="page-date" datetime="{{ . | time.Format "2006-01-02" }}">
|
|
{{- . | time.Format "January 02, 2006" -}}
|
|
</time>
|
|
{{- end }}
|
|
{{ end }}
|