From d66f7cee3cfe75e32f7b28de1d8c75bfe340e896 Mon Sep 17 00:00:00 2001
From: Simon Hollingshead <me@simonhollingshead.com>
Date: Mon, 27 Feb 2023 21:37:22 +0000
Subject: [PATCH] Make H1 sizes consistent between different page types (#777)

---
 layouts/posts/list.html |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/layouts/posts/list.html b/layouts/posts/list.html
index 231b182..17abb71 100644
--- a/layouts/posts/list.html
+++ b/layouts/posts/list.html
@@ -3,11 +3,13 @@
 {{ end }}
 {{ define "content" }}
   <section class="container list">
-    <h1 class="title">
-      <a class="title-link" href="{{ .Permalink | safeURL }}">
-        {{ title (i18n (lower .Title)) | default .Title }}
-      </a>
-    </h1>
+    <header>
+      <h1 class="title">
+        <a class="title-link" href="{{ .Permalink | safeURL }}">
+          {{ title (i18n (lower .Title)) | default .Title }}
+        </a>
+      </h1>
+    </header>
     {{ .Content }}
     <ul>
       {{- range .Paginator.Pages -}}

--
Gitblit v1.10.0