Skip to content

Commit

Permalink
Fix capitalization of single header for a11y (#657)
Browse files Browse the repository at this point in the history
Thank you!
  • Loading branch information
lpar authored Nov 21, 2023
1 parent 221a0d8 commit 64dc2b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 64dc2b6

Please sign in to comment.