From 64dc2b6dead950da37472483597c56f21c52da2e Mon Sep 17 00:00:00 2001
From: mathew <meta@pobox.com>
Date: Tue, 21 Nov 2023 20:06:16 +0000
Subject: [PATCH] Fix capitalization of single header for a11y (#657)

---
 layouts/_default/single.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 4e146af..5aaf9ff 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -7,12 +7,12 @@
   {{ $section := .Site.GetPage "section" .Section }}
   <article class="flex-l flex-wrap justify-between mw8 center ph3">
     <header class="mt4 w-100">
-      <aside class="instapaper_ignoref b helvetica tracked">
+      <aside class="instapaper_ignoref b helvetica tracked ttu">
           {{/*
           CurrentSection allows us to use the section title instead of inferring from the folder.
           https://gohugo.io/variables/page/#section-variables-and-methods
           */}}
-        {{with .CurrentSection.Title }}{{. | upper }}{{end}}
+        {{ .CurrentSection.Title }}
       </aside>
       {{ partial "social-share.html" . }}
       <h1 class="f1 athelas mt3 mb1">

--
Gitblit v1.10.0