about summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
authorAlan Pearce2024-02-13 16:41:59 +0000
committerAlan Pearce2024-02-13 16:41:59 +0000
commit56ce5790857b11bf69d515fe06f089b5331c6bdd (patch)
treea71450e3ace8d1ad99e986507a835fb679556678 /templates
parent91f72a8f3071daebea322fb65365cda55956512f (diff)
parentec4421f6b2a89448939bf6dc9df5e2c5d1224c19 (diff)
downloadzola-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.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") %}