panda-2008.11.6: src/Panda/View/Widget/Footer.hs
{-# LANGUAGE NoImplicitPrelude #-}
module Panda.View.Widget.Footer where
import Panda.Helper.Env
import qualified Panda.Config.Global as G
static_footer = toHtml
[ toHtml $ copyright
, toHtml $ "2008 "
, toHtml $ G.blog_title
, toHtml $ br
, toHtml $ "Powered by "
, toHtml $ hotlink G.panda_url << "Panda"
, toHtml $ " using "
, toHtml $ hotlink "http://www.haskell.org/" << "Haskell"
]
custom_footer
| G.footer.isJust = G.footer.fromJust.markup
| otherwise = static_footer
footer c = div_class_id c "footer" << custom_footer