Currently layouts/_default/single.html uses {{with .CurrentSection.Title }}{{. | upper }}{{end}} to change the section title to ALL UPPERCASE.
This is bad for accessibility, because screen readers are likely to read POSTS as "pee oh ess tee ess".
The right thing to do if you want something to be displayed in all caps is to use CSS text-transform. This PR fixes the template to do that. Happily Tachyons has a class for the purpose, so the template code ends up being simpler.
Currently
layouts/_default/single.html
uses{{with .CurrentSection.Title }}{{. | upper }}{{end}}
to change the section title to ALL UPPERCASE.This is bad for accessibility, because screen readers are likely to read POSTS as "pee oh ess tee ess".
The right thing to do if you want something to be displayed in all caps is to use CSS
text-transform
. This PR fixes the template to do that. Happily Tachyons has a class for the purpose, so the template code ends up being simpler.