2019-12-11 02:18:44 +00:00
{{ if $.Params.header }}
{{ range $.Params.header }}
{{ if eq .type "text" }}
< div class = "site-header site-header__align-{{ .align }}" style = "width: 100%; height: {{ .height }}px; padding: {{ .paddingY }}px {{ .paddingX }}px;" >
{{ $header := . }}
{{ if .title }}
{{ range .title }}
2020-01-10 06:13:21 +00:00
< div class = "site-header__title {{ if $header.titleShadow }}site-header__title--shadow{{ end }}" style = "font-size: {{ $header.titleFontSize }}px; {{ with $header.titleColor }}color:{{ . }}{{ end }}" >
2019-12-11 02:18:44 +00:00
{{ . }}
< / div >
{{ end }}
{{ end }}
{{ if .spaceBetweenTitleSubtitle }}
< div style = "height: {{ .spaceBetweenTitleSubtitle }}px" > < / div >
{{ end }}
{{ if .subtitle }}
{{ range .subtitle }}
< div class = "site-header__subtitle" style = "font-size: {{ $header.subtitleFontSize }}px;" >
{{ . }}
< / div >
{{ end }}
{{ end }}
< / div >
{{ end }}
{{ end }}
2019-11-18 12:14:32 +00:00
{{ end }}