diff --git a/quartz/cli/handlers.js b/quartz/cli/handlers.js
index b8b97b7..12e7e8e 100644
--- a/quartz/cli/handlers.js
+++ b/quartz/cli/handlers.js
@@ -347,7 +347,7 @@ export async function handleBuild(argv) {
           directoryListing: false,
           headers: [
             {
-              source: "**/*.html",
+              source: "**/*.*",
               headers: [{ key: "Content-Disposition", value: "inline" }],
             },
           ],
diff --git a/quartz/util/path.ts b/quartz/util/path.ts
index 95acf11..07f25a5 100644
--- a/quartz/util/path.ts
+++ b/quartz/util/path.ts
@@ -52,7 +52,7 @@ function sluggify(s: string): string {
     .split("/")
     .map((segment) =>
       segment.replace(/\s/g, "-").replace(/%/g, "-percent").replace(/\?/g, "-q").replace(/#/g, ""),
-    ) // slugify all segments
+    )
     .join("/") // always use / as sep
     .replace(/\/$/, "")
 }