Clarify IO usage via Applicative interface in Handlers, whitespace cleanup, remove dedicated source file for 404 view

This commit is contained in:
2024-07-24 14:37:10 -05:00
parent bf47f02282
commit 754302e543
10 changed files with 50 additions and 55 deletions

View File

@@ -21,6 +21,6 @@ mdFileToLucid :: FilePath -> IO (LU.Html ())
mdFileToLucid path = fmap (mdToLucid . decodeUtf8) (B.readFile path)
mdFileToText :: FilePath -> IO (Text)
mdFileToText path = do
mdFileToText path = do
htmlContent <- mdFileToLucid path
return $ toStrict $ LU.renderText htmlContent