about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorOleksii Dobrovolskyi2024-02-13 18:24:43 +0200
committerOleksii Dobrovolskyi2024-02-13 18:24:43 +0200
commitec4421f6b2a89448939bf6dc9df5e2c5d1224c19 (patch)
treea71450e3ace8d1ad99e986507a835fb679556678
parent91f72a8f3071daebea322fb65365cda55956512f (diff)
downloadzola-bearblog-ec4421f6b2a89448939bf6dc9df5e2c5d1224c19.tar.lz
zola-bearblog-ec4421f6b2a89448939bf6dc9df5e2c5d1224c19.tar.zst
zola-bearblog-ec4421f6b2a89448939bf6dc9df5e2c5d1224c19.zip
Correction of headings hierarchy and styling
-rw-r--r--templates/header.html2
-rw-r--r--templates/style.css.html4
-rw-r--r--templates/taxonomy_list.html2
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") %}