diff options
Diffstat (limited to 'layouts/partials/header/blog-header-img.html')
-rw-r--r-- | layouts/partials/header/blog-header-img.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/header/blog-header-img.html b/layouts/partials/header/blog-header-img.html index 4f4302b..e3cdfb7 100644 --- a/layouts/partials/header/blog-header-img.html +++ b/layouts/partials/header/blog-header-img.html @@ -1,12 +1,12 @@ {{ if .Params.header }} {{ range .Params.header }} {{ if eq .type "img" }} - <div class="site-header site-header__align-{{ .align }}" style="background-image: url('{{ .imageSrc | relURL }}'); background-size: {{ .imageSize }}; + <div class="blog-header blog-header__align-{{ .align }}" style="background-image: url('{{ .imageSrc | relURL }}'); background-size: {{ .imageSize }}; background-repeat: {{ .imageRepeat }}; background-position: {{ .imagePosition }}; width: 100%; height: {{ .height }}px; padding: {{ .paddingY }}px {{ .paddingX }}px;"> {{ $header := . }} {{ if .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="blog-header__title {{ if $header.titleShadow }}blog-header__title--shadow{{ end }}" style="font-size: {{ $header.titleFontSize }}px; {{ with $header.titleColor }}color:{{ . }}{{ end }};"> {{ . }} </div> {{ end }} @@ -15,8 +15,8 @@ <div style="height: {{ .spaceBetweenTitleSubtitle }}px"></div> {{ end }} {{ if .subtitle }} - {{ range .subtitle }} - <div class="site-header__subtitle" style="font-size: {{ $header.subtitleFontSize }}px; {{ with $header.subtitleColor }}color:{{ . }}{{ end }}" data-cursive="{{ with $header.subtitleCursive }}{{ . }}{{ end }}"> + {{ range .subtitle }} + <div class="blog-header__subtitle" style="font-size: {{ $header.subtitleFontSize }}px; {{ with $header.subtitleColor }}color:{{ . }}{{ end }}"> {{ . }} </div> {{ end }} |