🌱 a fast, batteries-included static-site generator that transforms Markdown content into fully functional websites
Go to file
Anton Bulakh 4ef008181c
fix(spa): Fix relative alias redirects
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
2024-12-28 16:04:47 +02:00
.github chore(deps): bump rlespinasse/github-slug-action from 4.4.1 to 5.0.0 in the ci-dependencies group (#1578) 2024-11-10 04:46:14 -05:00
content re-add gitkeep to content 2023-12-11 15:34:21 -08:00
docs feat(backlinks): hide by default when empty (#1674) 2024-12-26 21:05:35 -07:00
quartz fix(spa): Fix relative alias redirects 2024-12-28 16:04:47 +02:00
.gitattributes add gitattributes for windows 2023-08-02 20:59:56 -07:00
.gitignore feat: support configurable ws port and remote development (#429) 2023-08-27 17:39:42 -07:00
.node-version build: add .node-version 2024-08-05 18:48:29 -07:00
.npmrc add engines field 2023-08-20 08:57:56 -07:00
.prettierignore fix notes 2023-08-07 23:57:24 -07:00
.prettierrc Use semi: false for prettier config 2022-05-02 08:57:25 -07:00
CODE_OF_CONDUCT.md run prettier 2023-07-22 17:27:41 -07:00
Dockerfile fix(ci): run build on tags (#1483) 2024-10-06 22:34:31 -04:00
globals.d.ts refactor(comments): move script to files (#1308) 2024-08-05 15:17:11 -04:00
index.d.ts feat: Emit custom event when theme changes (#723) 2024-01-23 14:52:41 -08:00
LICENSE.txt add base structure 2021-07-18 09:35:42 -04:00
package-lock.json chore(deps): bump the production-dependencies group with 7 updates (#1667) 2024-12-23 16:35:08 -05:00
package.json chore(deps): bump the production-dependencies group with 7 updates (#1667) 2024-12-23 16:35:08 -05:00
quartz.config.ts feat(open-graph): generate OG images + further OG support (#740) 2024-11-12 07:33:35 -05:00
quartz.layout.ts feat(layout): add afterBody 2024-07-09 19:09:31 -07:00
README.md fix: remove quartz 3 references, update font style in popovers 2024-01-21 12:39:20 -08:00
tsconfig.json chore(deps-dev): bump prettier 2024-06-17 21:46:43 -07:00

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/

Join the Discord Community

Sponsors