From fb421d59ae2c3a64643c1f06ae9f3c6016741a31 Mon Sep 17 00:00:00 2001 From: Pagwin Date: Sat, 20 Jul 2024 17:37:49 -0400 Subject: [PATCH] md to typ --- app/Config.hs | 2 +- app/Utilities.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Config.hs b/app/Config.hs index aec80f9..1ea786e 100644 --- a/app/Config.hs +++ b/app/Config.hs @@ -7,7 +7,7 @@ assetGlobs :: [String] assetGlobs = ["static/*"] pagePaths :: [String] -pagePaths = ["about.md", "contact.md"] +pagePaths = ["links.typ"] postGlobs :: [String] postGlobs = ["posts/*.typ"] diff --git a/app/Utilities.hs b/app/Utilities.hs index fce2877..5380178 100644 --- a/app/Utilities.hs +++ b/app/Utilities.hs @@ -17,7 +17,7 @@ indexHtmlOutputPath srcPath = indexHtmlSourcePath :: FilePath -> FilePath indexHtmlSourcePath = Shake.dropDirectory1 - . (<.> "md") + . (<.> "typ") . Shake.dropTrailingPathSeparator . Shake.dropFileName