daKmoR / rocket

Move to https://github.com/modernweb-dev/rocket/
MIT License
13 stars 5 forks source link

internal links and _site-dev #149

Closed bennypowers closed 3 years ago

bennypowers commented 3 years ago

Authors will want to link to pages from the web root, i.e.

[script children](/guides/cool-tricks/inline-query-scripts)

instead of

[script children](../../../guides/cool-tricks/inline-query-scripts)

But during dev-time the site is served from _site-dev.

Either that prefix should not be used (perhaps the export map update to web dev server can help with that), or internal links should be automatically rewritten at dev-time.

daKmoR commented 3 years ago

we now serve without a subdirectory 👍

so such links should work 💪