gristlabs / gristlabs/mkdocs-windmill
Anchors broken for home page
- Dominant language
- CSS
- Stars
- 129
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
From some applications (e.g. Gmail and Slack OSX Desktop app), anchors on the home page are broken.
This is because they turn two consecutive hashes (`##`) into the second one url-escaped (`#%23`).
E.g., if you paste this into slack app or send in gmail, then click it:
`https://mysite.com/##header`
You get sent to this page (which obviously 404s):
`https://mysite.com/#%23header`
This only happens on the root page (which is the only one with consecutive hashes in the URL), so one solution would be to use `mysite/#/` (with a trailing slash) as the root, instead of just `mysite/#`. However, this seems to work on real sites (served via nginx), but not when served locally via `mkdocs serve`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.