bjornbytes / lovr-docs

Documentation for LÖVR
45 stars 34 forks source link

Title anchors don't work in Safari #138

Closed KelseyHigham closed 1 year ago

KelseyHigham commented 1 year ago

like this -> https://lovr.org/docs/master/Pass#tally

KelseyHigham commented 1 year ago

(they do work in Chrome and Firefox)

bjornbytes commented 1 year ago

Also why aren't they links on there? Fancy header links appear to be guides-only

bjornbytes commented 1 year ago

This part of the docs generator could be extracted into a function that runs on more pages.

The anchor IDs on other pages are actually being added dynamically by JS right now, which won't work if someone disables JS (I've been trying to get better about that).

KelseyHigham commented 1 year ago

oh, maybe Safari hops to an anchor before JS runs

bjornbytes commented 1 year ago

This is fixed now!