Statiq.Framework icon indicating copy to clipboard operation
Statiq.Framework copied to clipboard

Possible to create cross-references between pages and posts

Open johanvergeer opened this issue 5 years ago • 1 comments

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).

johanvergeer avatar May 21 '19 20:05 johanvergeer

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.

daveaglick avatar May 27 '19 02:05 daveaglick