Closed TomasVotruba closed 5 years ago
Any idea why there aren't any anchors in the current web?
Are they post?
They are not named post
but doc
and tutorial
https://github.com/crazko/statie-web/blob/master/statie.yml#L15 . I thought it's the same behaviour for all generators.
It's designed only for posts, since they're long and people share them.
In other cases it doesn't make sense, e.g. lecures have 2 headlines and such links would be only spamming: https://pehapkari.cz/kurz/elasticsearch-zaciname-vyhledavat/
I see... what about to have such config property per generator and not one for whole project? In case of this page (and I can image many others) headlines with anchors would be beneficial. Why not let users to choose?
I had the same idea. Do you care for creating PR or at least an issue with example of such configuration?
I can create an issue, not sure about PR, it could take days/week or two to find time. If you're ok with that, I'll try to handle it.
Issues it is :)
See https://github.com/Symplify/Statie/blob/master/README.md#how-to-turn-make-post-shareable-with-anchors