hablo-1.1.0.1: A minimalist static blog generator
Safe HaskellNone
LanguageHaskell2010

DOM.Card

Documentation

class HasCard a where Source #

Methods

cardType :: Renderer m => a -> m Text Source #

description :: Renderer m => a -> m Text Source #

image :: Renderer m => a -> m (Maybe String) Source #

title :: Renderer m => a -> m String Source #

urlPath :: Renderer m => a -> m String Source #

Instances

Instances details
HasCard Article Source # 
Instance details

Defined in DOM.Card

HasCard Page Source # 
Instance details

Defined in DOM.Card

HasCard ArticlesList Source # 
Instance details

Defined in DOM.Card

make :: (HasCard a, Renderer m) => a -> String -> HtmlT m () Source #