Header logo - documented, added to example site, CSS fixed

This commit is contained in:
zjedi 2023-03-14 22:22:58 +01:00
parent 0e17f0b7b7
commit 7f5462eefb
8 changed files with 24 additions and 11 deletions

View file

@ -7,7 +7,7 @@
<header id="site-head" {{ with .Params.header_image }}style="background-image: url({{ . }})"{{ end }}>
<div class="vertical">
<div id="site-head-content" class="inner">
{{ with .Params.header_logo }}<img class="blog-logo" src="{{ . }}" />{{ end }}
{{ with .Params.header_logo }}<img id="blog-logo" src="{{ . }}" />{{ end }}
{{ if .Site.Params.title_guard }}<div class="title-and-description-guard">{{ end }}
{{ with .Params.header_headline }}<h1 class="blog-title">{{ . | safeHTML }}</h1>{{ end }}
{{ with .Params.header_subheadline }}<h2 class="blog-description">{{ . }}</h2>{{ end }}