quartz
quartz copied to clipboard
fix: fix alias handle relative path incorrectly
Currently alias will incorrectly handle simple relative path like
---
alias:
- index
---
I expected current folder's index redirected to this file but it is root index, because isRelativeURL, specifically assert(!path.isRelativeURL("abc")), which is what quartz expects.
Then I had to use full path like xxx/index.
But what I acutally want is this act like unix path.
Feel free to close this PR if this behavior is just as-designed.
Oh it's dup with #1805 I'll close this ig it's as-designed based on that
built with Refined Cloudflare Pages Action
âš¡ Cloudflare Pages Deployment
| Name | Status | Preview | Last Commit |
|---|---|---|---|
| quartz | ✅ Ready (View Log) | Visit Preview | 149fd162606f710478125fbeac87d5f7b9c1ca3e |