header image text color option added

This commit is contained in:
zzossig 2020-01-13 09:10:27 +09:00
parent 9ffe2fd965
commit 9da7f779ac
2 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@
{{ $header := . }} {{ $header := . }}
{{ if .title }} {{ if .title }}
{{ range .title }} {{ range .title }}
<div class="site-header__title {{ if $header.titleShadow }}site-header__title--shadow{{ end }}" style="font-size: {{ $header.titleFontSize }}px;"> <div class="site-header__title {{ if $header.titleShadow }}site-header__title--shadow{{ end }}" style="font-size: {{ $header.titleFontSize }}px; {{ with $header.titleColor }}color:{{ . }}{{ end }};">
{{ . }} {{ . }}
</div> </div>
{{ end }} {{ end }}

View File

@ -5,7 +5,7 @@
{{ $header := . }} {{ $header := . }}
{{ if .title }} {{ if .title }}
{{ range .title }} {{ range .title }}
<div class="site-header__title {{ if $header.titleShadow }}site-header__title--shadow{{ end }}" style="font-size: {{ $header.titleFontSize }}px; {{ with $header.titleColor }}color:{{ . }}{{ end }}"> <div class="site-header__title {{ if $header.titleShadow }}site-header__title--shadow{{ end }}" style="font-size: {{ $header.titleFontSize }}px; {{ with $header.titleColor }}color:{{ . }}{{ end }};">
{{ . }} {{ . }}
</div> </div>
{{ end }} {{ end }}