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