Closed ivan-kocienski-gfsc closed 1 year ago
we're missing a first level heading or really any heading on the blog index. this is missing from the design / current website.
Sorry I've just been trying to work out how to add a blog header while reviewing this! Something like this in the header is close, but how we apply styles to h1 headers would need changing to accommodate this so it's not a good plan for now. Leaving here anyway in case is of any use in the future.
{{ if and (in $currentPage.RelPermalink "blog") (and (eq $currentPage.RelPermalink "/blog/") (eq .Name "Blog")) }}
<h1 class="header__nav nav">
<a href="{{ .URL }}">{{ .Name }}</a>
</h1>
{{ else }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
Fixes #308
Description
Use correct
<h1>
tags on pages to improve accessibility and SEO.Pages fixed
/studio
/collective
/our-work
/team
/support
/project/:slug
/contact
Other pages
/blog/:slug
(pulls the title from the blog post)/blog
(title is missing from page)/
(title is missing here altogether)@geeksforsocialchange/developers