diff options
author | Alan Pearce | 2024-02-13 16:41:59 +0000 |
---|---|---|
committer | Alan Pearce | 2024-02-13 16:41:59 +0000 |
commit | 56ce5790857b11bf69d515fe06f089b5331c6bdd (patch) | |
tree | a71450e3ace8d1ad99e986507a835fb679556678 /templates | |
parent | 91f72a8f3071daebea322fb65365cda55956512f (diff) | |
parent | ec4421f6b2a89448939bf6dc9df5e2c5d1224c19 (diff) | |
download | zola-bearblog-56ce5790857b11bf69d515fe06f089b5331c6bdd.tar.lz zola-bearblog-56ce5790857b11bf69d515fe06f089b5331c6bdd.tar.zst zola-bearblog-56ce5790857b11bf69d515fe06f089b5331c6bdd.zip |
Merge pull request 'Correction of headings hierarchy and styling' (#7) from dobrvlskyi/zola-bearblog:headings into main
Reviewed-on: https://codeberg.org/alanpearce/zola-bearblog/pulls/7
Diffstat (limited to 'templates')
-rw-r--r-- | templates/header.html | 2 | ||||
-rw-r--r-- | templates/style.css.html | 4 | ||||
-rw-r--r-- | templates/taxonomy_list.html | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/templates/header.html b/templates/header.html index 43f6c40..f92e903 100644 --- a/templates/header.html +++ b/templates/header.html @@ -1,6 +1,6 @@ <header> <a href="{{ get_url(path="@/_index.md", lang=lang) }}" class="title"> - <h2>{{ config.title }}</h2> + <h1>{{ config.title }}</h1> </a> <nav> {% include "nav.html" %} diff --git a/templates/style.css.html b/templates/style.css.html index 00b4131..15d6b3d 100644 --- a/templates/style.css.html +++ b/templates/style.css.html @@ -31,6 +31,10 @@ border: 0; } + .title h1 { + font-size: 1.5em; + } + .title span { font-weight: 400; } diff --git a/templates/taxonomy_list.html b/templates/taxonomy_list.html index e5a5cb3..98b8fc9 100644 --- a/templates/taxonomy_list.html +++ b/templates/taxonomy_list.html @@ -2,7 +2,7 @@ {% block main %} <main> - <h3 style="margin-bottom:0">{{ taxonomy.name | capitalize }}</h3> + <h1>{{ taxonomy.name | capitalize }}</h1> <small> <div> {% set tags = get_taxonomy(kind="tags") %} |