Safe Haskell | None |
---|---|
Language | Haskell2010 |
Noli.Types
Synopsis
- data Settings = Settings {}
- data Post = Post {}
- data Project = Project {}
- data Page = Page {}
- type PostTemplate = PostTitle -> PostBody -> Html ()
- newtype FrontMatter = FrontMatter {}
Documentation
Constructors
Settings | |
Fields
|
Constructors
Post | |
The "dynamic" representation of the static site
type PostTemplate = PostTitle -> PostBody -> Html () Source #
newtype FrontMatter Source #
Constructors
FrontMatter | |
Fields |
Instances
Show FrontMatter Source # | |
Defined in Noli.Types Methods showsPrec :: Int -> FrontMatter -> ShowS # show :: FrontMatter -> String # showList :: [FrontMatter] -> ShowS # | |
Generic FrontMatter Source # | |
Defined in Noli.Types Associated Types type Rep FrontMatter :: Type -> Type # | |
ToJSON FrontMatter Source # | |
Defined in Noli.Types Methods toJSON :: FrontMatter -> Value # toEncoding :: FrontMatter -> Encoding # toJSONList :: [FrontMatter] -> Value # toEncodingList :: [FrontMatter] -> Encoding # | |
FromJSON FrontMatter Source # | |
Defined in Noli.Types | |
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))) |