Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(regression): set home link as dots (closes #1702) #1703

Closed
wants to merge 1 commit into from

Conversation

aarnphm
Copy link
Collaborator

@aarnphm aarnphm commented Jan 4, 2025

Update home path to "." to resolve joinSegments correctly.

Update home path to "." to resolve joinSegments correctly.
Copy link

Deploying quartz with  Cloudflare Pages  Cloudflare Pages

Latest commit: eef13b9
Status: ✅  Deploy successful!
Preview URL: https://27a1caa3.quartz-1h4.pages.dev
Branch Preview URL: https://breadcrumbs-nav.quartz-1h4.pages.dev

View logs

@aarnphm aarnphm requested a review from jackyzha0 January 4, 2025 05:59
@aarnphm
Copy link
Collaborator Author

aarnphm commented Jan 4, 2025

This seems like a hack, probably we want to resolve standalone "/". wdyt?

@aarnphm aarnphm linked an issue Jan 4, 2025 that may be closed by this pull request
@jackyzha0
Copy link
Owner

we can probs make it so

export function joinSegments(...args: string[]): string {
filters out lone slash segments so joinSegments(a, b, '/') is the same as joinSegments(a, b + '/') so its a/b/ rather than a/b//

@aarnphm
Copy link
Collaborator Author

aarnphm commented Jan 7, 2025

superceded by #1713

@aarnphm aarnphm closed this Jan 7, 2025
@aarnphm aarnphm deleted the breadcrumbs-nav branch January 7, 2025 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The "Home" link in the breadcrumb is broken
2 participants