Notice this has been generalized just above and use the generalization

This commit is contained in:
Tissevert 2020-05-07 22:52:06 +02:00
parent 58d2f3c1c2
commit 5c2ac28ce9

View file

@ -93,7 +93,7 @@ page aPage =
script_ [src_ "/js/hablo.js"] empty
optional faviconLink =<< (asks $skin.$favicon)
optional (Card.make aPage) =<< (asks $urls.$cards)
(asks $skin.$head) >>= maybe (toHtml empty) toHtmlRaw
optional toHtmlRaw =<< (asks $skin.$head)
)
body_ (do
maybe defaultBanner toHtmlRaw =<< (asks $skin.$banner)