alex-shpak / hugo-book

Hugo documentation theme as simple as plain book
https://hugo-book-demo.netlify.app
MIT License
3.44k stars 1.17k forks source link

Remove persistent "#" symbol on Headers #638

Closed stockphrase closed 4 weeks ago

stockphrase commented 2 months ago

When I build my site, each header has a persistent # symbol next to it. In the model site these only appear when hovering over the heading. How can you toggle these off? I don't see a setting for this.

alex-shpak commented 2 months ago

Hi! There is no setting in config for this, but you can overwrite this template https://github.com/alex-shpak/hugo-book/blob/master/layouts/_default/_markup/render-heading.html

stockphrase commented 2 months ago

Thank you, Alex.