From df3366a3db410bfb2147cda976ce97b184a062a3 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Wed, 1 Mar 2023 19:54:26 -0800 Subject: [PATCH] Add site title banner --- assets/sass/style.sass | 15 +++++++++++++++ layouts/_default/baseof.html | 13 ++++++++++++- layouts/index.html | 1 - 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/assets/sass/style.sass b/assets/sass/style.sass index a3fe0d2..6fb8ff3 100644 --- a/assets/sass/style.sass +++ b/assets/sass/style.sass @@ -19,6 +19,21 @@ html background-attachment: fixed body margin: 0 +header + & > * + margin: 0 +.site-header + display: flex + gap: 1em + align-items: center + color: inherit + text-decoration: none + h1 + margin-bottom: -0.375em + img + height: 5em + border-radius: 0.5em + border: 2px solid $primary h1, h2, h3, h4, h5, h6 font-family: 'Roboto Slab', sans-serif &:first-child diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 49cb744..ed73a7c 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -2,8 +2,19 @@ {{- partial "head.html" . -}} -
+ + {{ with .Site.Params.Avatar }} + + {{ end }} +
+

{{ .Site.Title }}

+ {{ with .Site.Params.Tagline }} +

{{ . }}

+ {{ end }} +
+
+
{{ if .Site.Params.Stork }}