Take out the Hamlet newline configuration since it actually doesn't affect the output. Like, at all.
This commit is contained in:
parent
2d1cbbf105
commit
1611ec2ef1
1 changed files with 2 additions and 3 deletions
|
@ -19,9 +19,8 @@ import Data.Yaml (decodeEither')
|
||||||
import Database.Persist.MySQL (MySQLConf (..))
|
import Database.Persist.MySQL (MySQLConf (..))
|
||||||
import Language.Haskell.TH.Syntax (Exp, Name, Q)
|
import Language.Haskell.TH.Syntax (Exp, Name, Q)
|
||||||
import Network.Wai.Handler.Warp (HostPreference)
|
import Network.Wai.Handler.Warp (HostPreference)
|
||||||
import Text.Hamlet (HamletSettings(hamletNewlines), NewlineStyle(AlwaysNewlines), defaultHamletSettings)
|
|
||||||
import Yesod.Default.Config2 (applyEnvValue, configSettingsYml)
|
import Yesod.Default.Config2 (applyEnvValue, configSettingsYml)
|
||||||
import Yesod.Default.Util (WidgetFileSettings(wfsHamletSettings), widgetFileNoReload,
|
import Yesod.Default.Util (WidgetFileSettings, widgetFileNoReload,
|
||||||
widgetFileReload)
|
widgetFileReload)
|
||||||
import qualified Database.MySQL.Base as MySQL
|
import qualified Database.MySQL.Base as MySQL
|
||||||
|
|
||||||
|
@ -124,7 +123,7 @@ instance FromJSON AppSettings where
|
||||||
--
|
--
|
||||||
-- https://github.com/yesodweb/yesod/wiki/Overriding-widgetFile
|
-- https://github.com/yesodweb/yesod/wiki/Overriding-widgetFile
|
||||||
widgetFileSettings :: WidgetFileSettings
|
widgetFileSettings :: WidgetFileSettings
|
||||||
widgetFileSettings = def { wfsHamletSettings = defaultHamletSettings { hamletNewlines = AlwaysNewlines } }
|
widgetFileSettings = def
|
||||||
|
|
||||||
-- | How static files should be combined.
|
-- | How static files should be combined.
|
||||||
combineSettings :: CombineSettings
|
combineSettings :: CombineSettings
|
||||||
|
|
Loading…
Reference in a new issue