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