chore: format with fourmolu and add SchemaOrg to cabal

This commit is contained in:
2026-05-19 22:52:12 -04:00
parent 73d6e870fe
commit 340b95cf79
2 changed files with 5 additions and 2 deletions
+2
View File
@@ -22,6 +22,7 @@ library
Roux.NYTimes
Roux.Parser
Roux.RecipeIndex
Roux.SchemaOrg
Roux.Server
Roux.Types
other-modules:
@@ -127,6 +128,7 @@ test-suite roux-server-test
other-modules:
Roux.NYTimesSpec
Roux.ParserSpec
Roux.SchemaOrgSpec
Paths_roux_server
autogen-modules:
Paths_roux_server
+3 -2
View File
@@ -81,8 +81,9 @@ toSearchEntry info =
, rseTags = tags
}
-- | Extract a display title from the recipe's metadata or fall back to the
-- filename.
{- | Extract a display title from the recipe's metadata or fall back to the
filename.
-}
extractTitle :: Recipe -> FilePath -> Text
extractTitle recipe filename =
case metaTitle (recipeMetadata recipe) of