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>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<header class="content-title">
|
||||
<h1>{{ .Title | markdownify }}</h1>
|
||||
{{ with .Description -}}
|
||||
<p class="subtitle">{{ . }}</p>
|
||||
{{- end }}
|
||||
|
||||
{{ if and (not (eq .Section "about")) .Date }}
|
||||
<time>{{ .Date | time.Format "January 2, 2006" }}</time>
|
||||
{{ end }}
|
||||
{{ with .Date -}}
|
||||
<time>{{ . | time.Format "January 2, 2006" }}</time>
|
||||
{{- end }}
|
||||
|
||||
{{- if .Params.series -}}
|
||||
{{- $series := .GetTerms "series" -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue