Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap article title in an h1 instead of div #649

Merged
merged 1 commit into from
Jan 31, 2025
Merged

Conversation

alexandersix
Copy link
Contributor

This PR replaces the <div> tag surrounding the article title on the article view page with an <h1> tag for SEO purposes.

TL;DR from the discussion in Discord, most of our articles have a highest heading size of <h2>, which means we were never using the top-most heading tier in our HTML.

Resolves #646

@alexandersix alexandersix added the bug Something isn't working label Jan 31, 2025
@alexandersix alexandersix self-assigned this Jan 31, 2025
@saade saade merged commit ed684d5 into main Jan 31, 2025
2 checks passed
@saade saade deleted the fix-article-h1-title branch January 31, 2025 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrap article titles in <h1> tags instead of <div> tags
3 participants