You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd like the filenames and folders generated to be all lowercase so that it's easier to have a web server host them and get lowercase slugs by default without having to add extra config code to web server/reverse proxy or some script to transform content before being copied over to Quartz.
Describe the solution you'd like
A property like slug.casing in QuartzConfig which can be set to "default" or "lowercase".
Describe alternatives you've considered
A script that converts all file/folders of my rsync-ed Obsidian vault in content/ dir before running npx quartz build. I'm not sure about the complexity here since the links inside notes would still be using mixed cases from my Obsidian Vault.
Writing custom code/config for my reverse proxy to parse the public/ tree and map incoming requests correctly
A plugin for this but I'm not so sure since plugins come much after slugification
Just live with mixed cases in paths
Additional context
IMHO, it's easier to stick to all lowercase URLs than mixed URLs which will lead to 404s if someone gets a letter casing wrong while sharing links. It also helps to preserve future refactors of the source content (Obsidian vault in my case) since people like myself would prefer to keep natural casing for my notes vs the site I'll be publishing.
Can help contribute if this sounds good.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'd like the filenames and folders generated to be all lowercase so that it's easier to have a web server host them and get lowercase slugs by default without having to add extra config code to web server/reverse proxy or some script to transform content before being copied over to Quartz.
Describe the solution you'd like
A property like
slug.casing
inQuartzConfig
which can be set to"default"
or"lowercase"
.Describe alternatives you've considered
content/
dir before runningnpx quartz build
. I'm not sure about the complexity here since the links inside notes would still be using mixed cases from my Obsidian Vault.public/
tree and map incoming requests correctlyAdditional context
IMHO, it's easier to stick to all lowercase URLs than mixed URLs which will lead to 404s if someone gets a letter casing wrong while sharing links. It also helps to preserve future refactors of the source content (Obsidian vault in my case) since people like myself would prefer to keep natural casing for my notes vs the site I'll be publishing.
Can help contribute if this sounds good.
The text was updated successfully, but these errors were encountered: