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

<h2> renders (almost?) the same size as <h1> #321

Closed
faassen opened this issue May 24, 2024 · 3 comments
Closed

<h2> renders (almost?) the same size as <h1> #321

faassen opened this issue May 24, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@faassen
Copy link
Contributor

faassen commented May 24, 2024

Bug Report

When I have a document which uses ## headings to go one level deeper, it renders like a #.

Environment

Zola version: 0.18.0
tabi version or commit: c54251c

Expected Behavior

I expect ## (h2) headings to be rendered smaller than h1 headings.

Current Behavior

On desktop firefox at least the rendering is so close in size I can't really distinguish between them.

Step to Reproduce

Use # and ## headings in a document.

@faassen faassen added the bug Something isn't working label May 24, 2024
@welpo
Copy link
Owner

welpo commented May 24, 2024

You're right, they're very close in size. I'll increase the size of h1 a bit.

Side note: it's generally recommended to use only one h1 per page, and the post's title is already h1.

@welpo welpo closed this as completed in 94b3b1d May 24, 2024
@welpo
Copy link
Owner

welpo commented May 24, 2024

Increased font size in 94b3b1d

@faassen
Copy link
Contributor Author

faassen commented May 24, 2024

Yeah, I'm converting hundreds of old blog entries and I may have to go through them all to increase the nesting level in the places where that's lacking.

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

No branches or pull requests

2 participants