mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-28 15:24:06 -06:00
🌱 a fast, batteries-included static-site generator that transforms Markdown content into fully functional websites
Missed this in my initial fix, but for subpath hosting support the redirects are relative, and aliases from deeply nested folders try to fetch the wrong thing. For example: In page a/b/C.md we have a link [[K]], and in page x/y/Z.md we specify `aliases: K`. The emitted alias redirect will be x/y/K.html and will redirect to `../Z.html`. The emitted html link will point to `x/y/K.html`, which the SPA/popover will fetch, read `../Z.html` from it, and try to fetch `a/b/Z.html`, because it'll be relative to where the link is, which is wrong. So we resolve the relative URL by using the URL constructor and giving it `x/y/K.html` as the base, so that `../Z.html` will correctly resolve |
||
|---|---|---|
| .github | ||
| content | ||
| docs | ||
| quartz | ||
| .gitattributes | ||
| .gitignore | ||
| .node-version | ||
| .npmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| CODE_OF_CONDUCT.md | ||
| Dockerfile | ||
| globals.d.ts | ||
| index.d.ts | ||
| LICENSE.txt | ||
| package-lock.json | ||
| package.json | ||
| quartz.config.ts | ||
| quartz.layout.ts | ||
| README.md | ||
| tsconfig.json | ||
Quartz v4
“[One] who works with the door open gets all kinds of interruptions, but [they] also occasionally gets clues as to what the world is and what might be important.” — Richard Hamming
Quartz is a set of tools that helps you publish your digital garden and notes as a website for free. Quartz v4 features a from-the-ground rewrite focusing on end-user extensibility and ease-of-use.
🔗 Read the documentation and get started: https://quartz.jzhao.xyz/