gethugothemes / dot-hugo

Dot - Hugo Documentation Theme
https://gethugothemes.com/products/dot/?utm_source=dot_github&utm_medium=referral&utm_campaign=github_theme_about
MIT License
260 stars 148 forks source link

H2 being generated instead of H1 #156

Closed morariu closed 3 years ago

morariu commented 3 years ago

The content shows that an H2 is being generated instead of H1. Is this by design and how should I replace it with an H1 instead?

tfsomrat commented 3 years ago

Hello @morariu, Use single # for an H1 tag

morariu commented 3 years ago

Thanks, that is understood. What I've meant is that the pages are being generated with H2 (on top of the page) and not with an H1.

robvadai commented 3 years ago

Yes I find it annoying too, main page title should be H1.

Line that should be changed: https://github.com/themefisher/dot-hugo-documentation-theme/blob/master/layouts/partials/default.html#L20

@tfsomrat can this be addressed please?