normalize is a Lucius file
This commit is contained in:
parent
632bb4c7ed
commit
bb7f7c82f2
@ -149,8 +149,8 @@ scaffold = do
|
||||
$(codegen "hamlet/default-layout.hamlet")
|
||||
writeFile' "hamlet/boilerplate-layout.hamlet"
|
||||
$(codegen "hamlet/boilerplate-layout.hamlet")
|
||||
writeFile' "static/css/normalize.css"
|
||||
$(codegen "static/css/normalize.css")
|
||||
writeFile' "lucius/normalize.lucius"
|
||||
$(codegen "lucius/normalize.lucius")
|
||||
writeFile' "hamlet/homepage.hamlet" $ ifTiny $(codegen "tiny/hamlet/homepage.hamlet") $(codegen "hamlet/homepage.hamlet")
|
||||
writeFile' "config/routes" $ ifTiny $(codegen "tiny/config/routes") $(codegen "config/routes")
|
||||
writeFile' "cassius/homepage.cassius" $(codegen "cassius/homepage.cassius")
|
||||
|
||||
@ -84,6 +84,7 @@ instance Yesod ~sitearg~ where
|
||||
mmsg <- getMessage
|
||||
pc <- widgetToPageContent $ do
|
||||
widget
|
||||
addLucius $(luciusFile "normalize")
|
||||
addCassius $(cassiusFile "default-layout")
|
||||
hamletToRepHtml $(hamletFile "default-layout")
|
||||
|
||||
|
||||
@ -15,7 +15,6 @@
|
||||
|
||||
<title>#{pageTitle pc}
|
||||
|
||||
<link rel="stylesheet" href=@{StaticR css_normalize_css}>
|
||||
^{pageHead pc}
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
<html
|
||||
<head
|
||||
<title>#{pageTitle pc}
|
||||
<link rel="stylesheet" href=@{StaticR css_normalize_css}>
|
||||
^{pageHead pc}
|
||||
<body
|
||||
$maybe msg <- mmsg
|
||||
|
||||
@ -71,6 +71,7 @@ instance Yesod ~sitearg~ where
|
||||
mmsg <- getMessage
|
||||
pc <- widgetToPageContent $ do
|
||||
widget
|
||||
addLucius $(luciusFile "normalize")
|
||||
addCassius $(cassiusFile "default-layout")
|
||||
hamletToRepHtml $(hamletFile "default-layout")
|
||||
|
||||
|
||||
@ -30,7 +30,7 @@ extra-source-files:
|
||||
scaffold/tiny/Handler/Root.hs.cg
|
||||
scaffold/tiny/config/routes.cg
|
||||
scaffold/tiny/Settings.hs.cg
|
||||
scaffold/static/css/normalize.css.cg
|
||||
scaffold/lucius/normalize.lucius.cg
|
||||
scaffold/postgresqlConnPool.cg
|
||||
scaffold/sqliteConnPool.cg
|
||||
scaffold/.ghci.cg
|
||||
|
||||
Loading…
Reference in New Issue
Block a user