diff --git a/src/Foundation.hs b/src/Foundation.hs index 4d767c1..1fc9372 100644 --- a/src/Foundation.hs +++ b/src/Foundation.hs @@ -142,9 +142,7 @@ instance Yesod App where -- value passed to hamletToRepHtml cannot be a widget, this allows -- you to use normal widget features in default-layout. - pc <- widgetToPageContent $ do - addStylesheet $ StaticR css_bootstrap_css - $(widgetFile "default-layout") + pc <- widgetToPageContent $(widgetFile "default-layout") withUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet") -- The page to be redirected to when authentication is required. diff --git a/templates/default-layout-wrapper.hamlet b/templates/default-layout-wrapper.hamlet index 23975d9..4727263 100644 --- a/templates/default-layout-wrapper.hamlet +++ b/templates/default-layout-wrapper.hamlet @@ -1,29 +1,16 @@ $doctype 5 -\ -\ -\ -\ - +
- + +