Clean up content_header
This commit is contained in:
parent
4576de0c8d
commit
f4ed16c706
1 changed files with 4 additions and 6 deletions
|
@ -1,11 +1,9 @@
|
||||||
<header>
|
<header>
|
||||||
{{ partial "development/draft_tag.html" . }}
|
{{ partial "development/draft_tag.html" . }}
|
||||||
<div class="post-title">
|
<h1>{{ .Title }}</h1>
|
||||||
<h1>{{ .Title }}</h1>
|
{{ if and (not (eq .Section "about")) .Date }}
|
||||||
{{ if and (not (eq .Section "about")) .Date }}
|
<time>{{ .Date | time.Format "January 2, 2006" }}</time>
|
||||||
<div class="post-date"><time>{{ .Date | time.Format "January 2, 2006" }}</time></div>
|
{{ end }}
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
{{- if .Params.series -}}
|
{{- if .Params.series -}}
|
||||||
{{- $series := .GetTerms "series" -}}
|
{{- $series := .GetTerms "series" -}}
|
||||||
{{- if gt (len $series) 1 -}}
|
{{- if gt (len $series) 1 -}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue