From e4950e06a15e34134b9feb064749748080bd59a1 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Wed, 09 Aug 2023 04:31:36 +0000
Subject: [PATCH] fix getFileExtension missing numeric extensions (e.g. mp4)
---
quartz/path.test.ts | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/quartz/path.test.ts b/quartz/path.test.ts
index 614273f..480493e 100644
--- a/quartz/path.test.ts
+++ b/quartz/path.test.ts
@@ -145,6 +145,7 @@
["/content/index.md", "content/index"],
["content/cool.png", "content/cool"],
["index.md", "index"],
+ ["test.mp4", "test"],
["note with spaces.md", "note-with-spaces"],
],
path.slugifyFilePath,
--
Gitblit v1.10.0