hakyll-4.13.3.0: A static website compiler library
Safe HaskellNone
LanguageHaskell2010

Hakyll.Core.Metadata

Synopsis

Documentation

lookupString :: String -> Metadata -> Maybe String Source #

lookupStringList :: String -> Metadata -> Maybe [String] Source #

getMetadataField :: MonadMetadata m => Identifier -> String -> m (Maybe String) Source #

getMetadataField' :: (MonadFail m, MonadMetadata m) => Identifier -> String -> m String Source #

Version of getMetadataField which throws an error if the field does not exist.

newtype BinaryMetadata Source #

Newtype wrapper for serialization.

Constructors

BinaryMetadata 

Instances

Instances details
Binary BinaryMetadata Source # 
Instance details

Defined in Hakyll.Core.Metadata

Methods

put :: BinaryMetadata -> Put

get :: Get BinaryMetadata

putList :: [BinaryMetadata] -> Put