Label TOC in-page links as such
Originally created by @sajolida on #13569 (Redmine)
See “Label In-Page Links” in https://www.nngroup.com/articles/in-page-links/.
We could label TOC as “On this page” or similar.
I don’t think that this is achievable through native ikiwiki mechanism so we’ll need some hack. The complicated part being supporting translations in a maintainable way.
From the top of my head, this could be achieved using either:
- Some CSS snippet, like we’re doing for “in-kind” in f28613a0 for example. We could move translations to a dedicated CSS file linked from the first one.
- Some JavaScript code. Then translations could possibly be taken from a JSON file.