hakyll-4.13.0.1: A static website compiler library

Safe HaskellNone
LanguageHaskell2010

Hakyll.Core.Metadata

Synopsis

Documentation

type Metadata = Object Source #

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

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

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

getMetadataField' :: 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
Binary BinaryMetadata Source # 
Instance details

Defined in Hakyll.Core.Metadata

Methods

put :: BinaryMetadata -> Put

get :: Get BinaryMetadata

putList :: [BinaryMetadata] -> Put