appernetic / hugo-bootstrap-premium

Hugo appernetic bootstrap premium theme
MIT License
83 stars 62 forks source link

footnotes and toc links not working #46

Closed mclearc closed 6 years ago

mclearc commented 6 years ago

For some reason footnotes and toc links don't work properly. For example clicking on footnote one in a post should take me to http://myblog/2018/08/my-first-post/#fn:1 but instead goes to http://myblog/2018/08/my-first-post/#!#fn:1. Note the extra #!. Something similar happens with toc links on pages where a toc is used. Any idea why that #! is being pre-pended?

appernetic commented 6 years ago

This sounds to me as an Angular issue.

mclearc commented 6 years ago

Indeed - disabling angular fixed the issue.

appernetic commented 6 years ago

Ok, great that you solved it. We need a more permanent solution I think. But I close it for now.