photogabble / eleventy-plugin-interlinker

Adds wikilink and wikilink embed support with tracking of backlinks.
https://photogabble.co.uk/projects/eleventyjs-interlink-plugin/
MIT License
17 stars 1 forks source link

Add support for wikilink namespaces #14

Closed carbontwelve closed 6 months ago

carbontwelve commented 9 months ago

I have a website with over 500 files and occasionally I have come across issues where two pages end up with the same wikilink key, e.g a bookmark called "Map of Indieweb" and then I write a note with the same title, they will have a naming colission.

It would be nice to have an optional wikiLinkNamespace front-matter setting that when set buckets those files into their own folder with lookup being as such: [[ namespace :: page title ]]. Given my previous example: [[ bookmark :: Map of Indieweb ]] and [[ note :: Map of Indieweb ]] would link to two different pages.

carbontwelve commented 6 months ago

This has been implemented as part of #19