Fix capitalization of single header for a11y

This commit is contained in:
mathew 2023-10-09 11:00:21 -05:00
parent c086834f0e
commit 73ecd7ee87
No known key found for this signature in database

View File

@ -7,12 +7,12 @@
{{ $section := .Site.GetPage "section" .Section }} {{ $section := .Site.GetPage "section" .Section }}
<article class="flex-l flex-wrap justify-between mw8 center ph3"> <article class="flex-l flex-wrap justify-between mw8 center ph3">
<header class="mt4 w-100"> <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. CurrentSection allows us to use the section title instead of inferring from the folder.
https://gohugo.io/variables/page/#section-variables-and-methods https://gohugo.io/variables/page/#section-variables-and-methods
*/}} */}}
{{with .CurrentSection.Title }}{{. | upper }}{{end}} {{ .CurrentSection.Title }}
</aside> </aside>
{{ partial "social-share.html" . }} {{ partial "social-share.html" . }}
<h1 class="f1 athelas mt3 mb1"> <h1 class="f1 athelas mt3 mb1">