| quartz/cli/handlers.js | ●●●●● patch | view | raw | blame | history | |
| quartz/util/path.ts | ●●●●● patch | view | raw | blame | history |
quartz/cli/handlers.js
@@ -347,7 +347,7 @@ directoryListing: false, headers: [ { source: "**/*.html", source: "**/*.*", headers: [{ key: "Content-Disposition", value: "inline" }], }, ], quartz/util/path.ts
@@ -52,7 +52,7 @@ .split("/") .map((segment) => segment.replace(/\s/g, "-").replace(/%/g, "-percent").replace(/\?/g, "-q").replace(/#/g, ""), ) // slugify all segments ) .join("/") // always use / as sep .replace(/\/$/, "") }