Skip to content

Quartz 5.4.2

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 01:08
9d7f740

Patch Changes

  • 8ca0652: Editors that validate quartz.config.yaml against Quartz's schema accept null in a config with extends, where it removes a setting so the default applies (baseUrl: null, a plugin's options: null or layout: null). They still flag null for settings Quartz has no default for, such as locale or theme, and in a config without extends. The schema's extends rules are generated from the full-config rules by node quartz/cli/config-schema.js.
  • 9b2118a: Fonts load from one place: the Fonts built-in (configuration.fonts, on by default) loads all of them, so configuration.fonts.fontOrigin: local loads no fonts, and selfHosted no longer also links Google Fonts. Unset, fontOrigin follows theme, so theme.fontOrigin: local loads no fonts again and theme.cdnCaching: false serves them from the site. With configuration.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.md and another note with permalink: x/front, [[Front]] links to Other/Front.md instead 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's permalink or aliases moves 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.