The integration between quartz and obsidian can be configured in the config.ts file located in the project root.
This configuration option is a json object with two main keys at the root: quartz and build. The value of each key is an object ton configure their respective segment of the integration, as explained below.
Quartz
The quartz key points at an object that shares its definition with Quartz’s own base configuration object, located in quartz.config.ts. See Quartz’s configuration documentation for more details on what each key controls but there are a few keys of note that will be commonly used. The following documentation is taken from the above linked document.
quartz.configuration.pageTitle: title of the site. This is also used when generating the RSS Feed for your site.quartz.configuration.pageTitleSuffix: a string added to the end of the page title. This only applies to the browser tab title, not the title shown at the top of the page.quartz.configuration.baseUrl: this is used for sitemaps and RSS feeds that require an absolute URL to know where the canonical ‘home’ of your site lives. This is normally the deployed URL of your site. Do not include the protocol (i.e.https://) or any leading or trailing slashes.
This is not an exhaustive list of configuration options. The contents of the quartz key in config.ts is deep merged into the default quartz configuration, so any valid Quartz configuration key can be used here.
Build
These options affect the build process. The following two keys must be specified:
vauldDir: the path to the obsidian vault from the project root.buildDir: the path to the directory Quartz will build to, relative to the project root. It’s unlikely this will need to be changed but the key is provided just in case.
Changing vaultDir
Why would I want to change the vault directory?
When you open your vault manager in obsidian, it displays the directory name as the vault name. If you have multiple quartz/obsidian sites but do not change their directories they will all be listed with a name of ‘vault’ in obsidian. The path to each will be displayed, but each site having its own name would be a better user experience.
This can easily be accomplished by renaming <root>/vault to something more descriptive — like <root>/movie_vault for a movie site or <root>/blog_vault for a blog site — then updating the vaultDir to point to the new directory (vaultDir: "movie_vault" or vaultDir: "blog_vault" respectively).