mirror of
https://github.com/quartz-community/utils.git
synced 2026-07-22 02:50:27 +00:00
Add utility functions to resolve links correctly when Quartz is deployed to a subdirectory (e.g., user.github.io/repository). getBasePath() reads the base path from a data attribute on <body>, and resolveBasePath() prepends it to slugs for client-side navigation. |
||
|---|---|---|
| .. | ||
| path.test.ts | ||