{-# LANGUAGE GADTs #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ExtendedDefaultRules #-}
{-# LANGUAGE BangPatterns #-}
module Lucid.Scaffold where
import Lucid
import Lucid.Base
import qualified Data.Text as T
import Data.Monoid
data WebPage m = WebPage { pageTitle :: T.Text -- ^ Page title
, favicon :: T.Text -- ^ Favicon url
, metaVars :: (HtmlT m ()) -- ^ @\@ tags
, initScripts :: (HtmlT m ()) -- ^ JavaScript to include at the top of the page
, beforeStylesScripts :: (HtmlT m ()) -- ^ JavaScript to include before @\