hakyll-4.3.1.0: A static website compiler library

Safe HaskellNone

Hakyll.Core.Item

Description

An item is a combination of some content and its Identifier. This way, we can still use the Identifier to access metadata.

Synopsis

Documentation

data Item a Source

Constructors

Item 

itemSetBody :: a -> Item b -> Item aSource

withItemBody :: (a -> Compiler b) -> Item a -> Compiler (Item b)Source

Perform a compiler action on the item body. This is the same as traverse, but looks less intimidating.

 withItemBody = traverse