Comments

The comments feature, powered by Giscus, is enabled. This tool enables Github Comments on any page on the website. A configuration guide can be found in the Quartz documentation.

Explorer component with custom content folder

By default, Quartz searches for all content in the /content folder. It is possible to define the folder where Quartz looks for the content using the -d command line option. For example, npx quartz build -d ../blog/content -o ../blog/website/pages. I use this because I have been using 🌐 My Website Generator before, so the content is placed in a separate repository.

This folder structure is also used by the Explorer component, which resulted in an incorrect folder structure. Instead, I have replaced the /content folder in the Quartz repository with a Symlink. The exact command is ln -s ../blog/content content.

As a result, I can use npx quartz build -o ../blog/website/pages which finds all the correct files and the folder structure in the Explorer component is still correct.