Statiq.Framework
Statiq.Framework copied to clipboard
Possible to create cross-references between pages and posts
I have not found any documentation on this yet, but I'm wondering whether it's possible to cross-reference between pages and / or posts.
In DocFx you can set a uid
in the yml header, which can be used with an @<uid>
syntax (other syntaxes are also available, but this is a shorthand).
This isn’t possible using an ID like you mention, though it’s a great idea so I’ll mark this issue as an enhancement request. In the meantime, the main way to link to other pages is by path.
I could see adding support for ID linking both in the execution context and as a shortcode. We’d need to track all IDs somewhere centrally, but that’s doable.