geek-1.1.0.1: Geek blog engine

Safe HaskellNone

Web.Geek.Type

Documentation

type Meta = Map Text TextSource

newtype HTMLText Source

Constructors

HTMLText 

Fields

unHTMLText :: Text
 

Instances

Eq HTMLText 
Data HTMLText 
Show HTMLText 
Typeable HTMLText 
IsString HTMLText 
Default HTMLText 

data Post Source

Constructors

Post 

Fields

title :: Text
 
path :: FilePath
 
meta :: Meta
 
date :: Maybe UTCTime
 
body :: HTMLText
 
raw_body :: Text
 
link :: URIEscapedText
 
tags :: [Text]
 

Instances

Eq Post 
Data Post 
Show Post 
Typeable Post 
Default Post 

__date :: :-> Post (Maybe UTCTime)Source

__path :: :-> Post FilePathSource

data Runtime Source

Constructors

Runtime 

Fields

posts_ref :: IORef [Post]
 
markup_engines :: [MarkupEngine]
 
config :: Config
 
full_text_search_map_ref :: IORef (Map Text [Int])
 

Instances

data TagCount Source

Constructors

TagCount 

Fields

tag_name :: Text
 
tag_count :: Integer
 

Instances

Data TagCount 
Show TagCount 
Typeable TagCount 
Default TagCount