emit micro-css
This commit is contained in:
parent
a5ce2358ab
commit
a0beb7cc6b
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
module Within.DBMemorial.Views.Materialize where
|
module Within.DBMemorial.Views.Materialize where
|
||||||
|
|
||||||
import qualified Clay (render)
|
import qualified Clay (renderWith, compact)
|
||||||
import Data.Monoid
|
import Data.Monoid
|
||||||
import Data.Text
|
import Data.Text
|
||||||
import Text.Blaze.Html
|
import Text.Blaze.Html
|
||||||
|
@ -20,7 +20,7 @@ render pageTitle inner =
|
||||||
meta ! name "viewport" ! content "width=device-width, initial-scale=1.0"
|
meta ! name "viewport" ! content "width=device-width, initial-scale=1.0"
|
||||||
link ! rel "stylesheet" ! href "/materialize/css/materialize.min.css"
|
link ! rel "stylesheet" ! href "/materialize/css/materialize.min.css"
|
||||||
|
|
||||||
H.style $ H.toHtml $ Clay.render $ CSSBase.render
|
H.style $ H.toHtml $ Clay.renderWith Clay.compact [] $ CSSBase.render
|
||||||
|
|
||||||
script ! type_ "text/javascript" ! src "https://code.jquery.com/jquery-2.1.1.min.js" $ mempty
|
script ! type_ "text/javascript" ! src "https://code.jquery.com/jquery-2.1.1.min.js" $ mempty
|
||||||
script ! src "/materialize/js/materialize.min.js" $ mempty
|
script ! src "/materialize/js/materialize.min.js" $ mempty
|
||||||
|
|
Loading…
Reference in New Issue