apply all metadata parsers to content also
This commit is contained in:
parent
cb876c0acc
commit
203a3722b4
@ -4,6 +4,7 @@ tags:
|
|||||||
- index
|
- index
|
||||||
- about
|
- about
|
||||||
sort: 9999
|
sort: 9999
|
||||||
|
show: "False"
|
||||||
---
|
---
|
||||||
# Unsere Partner
|
# Unsere Partner
|
||||||
|
|
||||||
|
|||||||
@ -197,7 +197,7 @@ main =
|
|||||||
fmap (fromMaybe tag') . runMaybeT . asum $
|
fmap (fromMaybe tag') . runMaybeT . asum $
|
||||||
map (\itemId -> MaybeT $ getMetadataField itemId "title") tagItems'
|
map (\itemId -> MaybeT $ getMetadataField itemId "title") tagItems'
|
||||||
, constField "route" navRoute
|
, 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
|
tagNavTemplate
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user