Warning
Quartz is provided by Jingwen Zhao, and thus, no support is provided by the Enveloppe team. If you have any questions, please refer to the official documentation.
-> PRESET <-
Quartz¶
See the official documentation on how to configure Quartz.
For the template, a special template that add a “little” more features is available here.
The template includes:
- File and folder icons
- Mobile navigation
You can click on “Sync fork” to get the latest updates from the original repository.
File & Folder icons configuration¶
- Use Iconize Assistant to save icon path into the frontmatter of the file.
Iconize icons needs to be accessible by the plugin! I store them into _assets/PLUGINS/icons
.
- Configure the plugin to send icons file (using override attachment) into
quartz/static/icons
: Replace path of attachment for svg files:/(_assets\/_PLUGINS\/icons)\/(.*)\/(.*)\.(svg)$/
->quartz/static/icons/$2/{{name}}
- Configure the plugin to send file by frontmatter key:
icon_file
- In the file [quartz.layout.ts], add this:
Don’t forget to add the default icon (named file.svg
) in the quartz/static/icons
folder.
- Edit
Component.ExlorerBurger()
as follow:
- Edit
Component.ArticleTitle()
as follow:Component.ArticleTitle(iconsOptions)
Mobile navigation¶
The mobile navigation is instable and rely on a specific layout. Don’t change the layout, order, or place of the components.
Sort order¶
You can use the frontmatter key order
to sort the files and folder by number. If not found, the sort order will use the display name.
Created : 6 janvier 2025