hablog-0.4.0: A blog system

Safe HaskellNone
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

bgTheme :: AttributeValue

General theme for hablog. a file path for a css file

codeTheme :: AttributeValue

Theme for code. a file path for a highlight.js css file

data Config Source

Configuration for Hablog

Constructors

Config 

Fields

blogTitle :: Text
 
blogTheme :: Theme
 

data TLSConfig Source

Requires the needed values for runTLS

Constructors

TLSConfig 

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 :: Theme Source

The default is the dark theme