hablog-0.8.0: A blog system
Safe HaskellSafe
LanguageHaskell2010

Web.Hablog.Config

Description

Configuration for Hablog

Synopsis

Documentation

data Theme Source #

Data type to set the theme for your Hablog blog

Constructors

Theme 

Fields

Instances

Instances details
Read Theme Source # 
Instance details

Defined in Web.Hablog.Config

Show Theme Source # 
Instance details

Defined in Web.Hablog.Config

Methods

showsPrec :: Int -> Theme -> ShowS #

show :: Theme -> String #

showList :: [Theme] -> ShowS #

data Config Source #

Configuration for Hablog

Constructors

Config 

Instances

Instances details
Read Config Source # 
Instance details

Defined in Web.Hablog.Config

Show Config Source # 
Instance details

Defined in Web.Hablog.Config

data TLSConfig Source #

Requires the needed values for runTLS

Constructors

TLSConfig 

Instances

Instances details
Read TLSConfig Source # 
Instance details

Defined in Web.Hablog.Config

Show TLSConfig Source # 
Instance details

Defined in Web.Hablog.Config

defaultConfig :: Config Source #

A default configuration

defaultPort :: Int Source #

The default HTTP port is 80

defaultTLSPort :: Int Source #

The default HTTPS port is 443

defaultTheme :: (String, Theme) Source #

The default is the dark theme