hexo
hexo copied to clipboard
Anchors in individual blog entries aren't made unique in the main page
A blog is composed of several entries. When I add footnotes to an entry, the anchors are numbered #fn1
, #fn2
etc. Hexo joins the entries in a single page but does not change the anchors. Thus, when I click on the 2nd footnote of an entry other than the top one, the browser navigates to the topmost (and hence, wrong) #fn2
anchor.
The engine could individualize anchors by prepending the entry's slug.
This problem can't be solved currently since renderers only get the content of posts.
Any updates on this thread?