From 203a3722b4f6b6d8cd3274680f2bf79fe76f2918 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Wed, 29 Nov 2023 13:29:58 +0100 Subject: [PATCH] apply all metadata parsers to content also --- content/clients.md | 1 + src/Main.hs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/content/clients.md b/content/clients.md index 7dd28b8..94b2279 100644 --- a/content/clients.md +++ b/content/clients.md @@ -4,6 +4,7 @@ tags: - index - about sort: 9999 +show: "False" --- # Unsere Partner diff --git a/src/Main.hs b/src/Main.hs index a5bac9a..cc81b1d 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -197,7 +197,7 @@ main = fmap (fromMaybe tag') . runMaybeT . asum $ map (\itemId -> MaybeT $ getMetadataField itemId "title") tagItems' , constField "route" navRoute - , listField "posts" (constField "tag" tag' <> constField "route" navRoute <> postContext) (metadataSort =<< mapM load ids) + , listField "posts" (constField "tag" tag' <> constField "route" navRoute <> postContext) (metadata =<< mapM load ids) ] tagNavTemplate