diff --git a/src/Foundation.hs b/src/Foundation.hs index 08aedb126..9517f607e 100644 --- a/src/Foundation.hs +++ b/src/Foundation.hs @@ -926,6 +926,8 @@ siteLayout headingOverride widget = do navbar = $(widgetFile "widgets/navbar") asidenav :: Widget asidenav = $(widgetFile "widgets/asidenav") + footer :: Widget + footer = $(widgetFile "widgets/footer") contentHeadline :: Maybe Widget contentHeadline = (toWidget <$> headingOverride) <|> (pageHeading =<< mcurrentRoute) breadcrumbsWgt :: Widget diff --git a/templates/default-layout.hamlet b/templates/default-layout.hamlet index c9c6c69e7..ad3dfc971 100644 --- a/templates/default-layout.hamlet +++ b/templates/default-layout.hamlet @@ -37,3 +37,7 @@ $if not isModal ^{widget} + + + $if not isModal + ^{footer} diff --git a/templates/widgets/footer.hamlet b/templates/widgets/footer.hamlet new file mode 100644 index 000000000..00cd79d96 --- /dev/null +++ b/templates/widgets/footer.hamlet @@ -0,0 +1,3 @@ +