Patch Changes
- 8ca0652: Editors that validate
quartz.config.yamlagainst Quartz's schema acceptnullin a config withextends, where it removes a setting so the default applies (baseUrl: null, a plugin'soptions: nullorlayout: null). They still flagnullfor settings Quartz has no default for, such aslocaleortheme, and in a config withoutextends. The schema'sextendsrules are generated from the full-config rules bynode quartz/cli/config-schema.js. - 9b2118a: Fonts load from one place: the Fonts built-in (
configuration.fonts, on by default) loads all of them, soconfiguration.fonts.fontOrigin: localloads no fonts, andselfHostedno longer also links Google Fonts. Unset,fontOriginfollowstheme, sotheme.fontOrigin: localloads no fonts again andtheme.cdnCaching: falseserves them from the site. Withconfiguration.fonts: false, Quartz loads the theme's fonts as before. - 6642356: Links resolve by the notes' file paths before permalinks, as in Obsidian: with
Other/Front.mdand another note withpermalink: x/front,[[Front]]links toOther/Front.mdinstead of the other note. A link to a permalink's address ([[x/front]]) still reaches its page. - 89820f0: Under
npx quartz build --serve, changing, adding or removing a note'spermalinkoraliasesmoves the page on the next rebuild: the page is published at its new address, its old address is removed, and links in other pages point to the new address. Before, the page moved only when its file was saved again, and other pages kept the old address until the server restarted. - 38d0145:
npx quartz build --serve --baseDir <path>gives pages the base path<path>, so links that the explorer, graph and search build in the browser stay under it instead of pointing at the server root, which returned 404. The 404 page's styles and home link are served under it too.