diff options
author | Chad Schulz <chad.awesome@gmail.com> | 2022-10-06 21:07:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 21:07:37 +0300 |
commit | 53ae06456a38be1cbd982c118d415abee66800f8 (patch) | |
tree | e447e912f85555949dd89c5dd52a231fd7254fc2 | |
parent | 135066d7866100c78a081d9f7a4eb549ed2c4c01 (diff) |
update site title, so pages have a single h1 element
-rw-r--r-- | assets/css/components/_app.scss | 8 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/assets/css/components/_app.scss b/assets/css/components/_app.scss index 643f3ce..35cd1ef 100644 --- a/assets/css/components/_app.scss +++ b/assets/css/components/_app.scss @@ -24,6 +24,14 @@ } } +.app-header-title { + color: $lightest-color; + display: block; + font-size: 2em; + margin: 0.67em 0; + font-weight: bold; +} + @media (min-width: 940px) { .app-header { position: fixed; diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 9201a44..7ed1318 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -19,7 +19,7 @@ <body> <header class="app-header"> <a href="{{ .Site.BaseURL }}"><img class="app-header-avatar" src="{{ .Site.Params.avatar | default "avatar.jpg" | relURL }}" alt="{{ .Site.Params.author | default "John Doe" }}" /></a> - <h1>{{ .Site.Title }}</h1> + <span class="app-header-title">{{ .Site.Title }}</span> {{- with .Site.Menus.main }} <nav class="app-header-menu"> {{- range $key, $item := . }} |