Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Settings = Settings {}
- data Post = Post {}
- data Project = Project {}
- data Page = Page {}
- type PostTemplate = PostTitle -> PostBody -> Html ()
- newtype FrontMatter = FrontMatter {}
Documentation
Settings | |
|
The "dynamic" representation of the static site
type PostTemplate = PostTitle -> PostBody -> Html () Source #
newtype FrontMatter Source #
Instances
Show FrontMatter Source # | |
Defined in Noli.Types showsPrec :: Int -> FrontMatter -> ShowS # show :: FrontMatter -> String # showList :: [FrontMatter] -> ShowS # | |
Generic FrontMatter Source # | |
Defined in Noli.Types type Rep FrontMatter :: Type -> Type # from :: FrontMatter -> Rep FrontMatter x # to :: Rep FrontMatter x -> FrontMatter # | |
ToJSON FrontMatter Source # | |
Defined in Noli.Types toJSON :: FrontMatter -> Value # toEncoding :: FrontMatter -> Encoding # toJSONList :: [FrontMatter] -> Value # toEncodingList :: [FrontMatter] -> Encoding # | |
FromJSON FrontMatter Source # | |
Defined in Noli.Types parseJSON :: Value -> Parser FrontMatter # parseJSONList :: Value -> Parser [FrontMatter] # | |
type Rep FrontMatter Source # | |
Defined in Noli.Types type Rep FrontMatter = D1 (MetaData "FrontMatter" "Noli.Types" "noli-0.1.1.0-P3upL3Fps5E4fEWlX0ONr" True) (C1 (MetaCons "FrontMatter" PrefixI True) (S1 (MetaSel (Just "frontmatter_title") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) |