Update the content header partial
This commit is contained in:
parent
fa82e4f9a7
commit
3e4e292a23
1 changed files with 8 additions and 5 deletions
|
@ -1,9 +1,12 @@
|
||||||
<header>
|
<header class="content-title">
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title | markdownify }}</h1>
|
||||||
|
{{ with .Description -}}
|
||||||
|
<p class="subtitle">{{ . }}</p>
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{ if and (not (eq .Section "about")) .Date }}
|
{{ with .Date -}}
|
||||||
<time>{{ .Date | time.Format "January 2, 2006" }}</time>
|
<time>{{ . | time.Format "January 2, 2006" }}</time>
|
||||||
{{ end }}
|
{{- end }}
|
||||||
|
|
||||||
{{- if .Params.series -}}
|
{{- if .Params.series -}}
|
||||||
{{- $series := .GetTerms "series" -}}
|
{{- $series := .GetTerms "series" -}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue