Remove the copyright setting from settings.yml and put it in the layout directly, since it needs to contain HTML (a link to the license)

This commit is contained in:
Danielle McLean 2017-10-02 21:23:10 +11:00
parent c996018486
commit 0f8a553b51
Signed by: 00dani
GPG key ID: 3844A6973C6058F1
3 changed files with 2 additions and 5 deletions

View file

@ -59,8 +59,6 @@ data AppSettings = AppSettings
-- ^ Perform no stylesheet/script combining
-- Example app-specific configuration values.
, appCopyright :: Text
-- ^ Copyright text to appear in the footer of the page
, appAnalytics :: Maybe Text
-- ^ Google Analytics code
@ -91,7 +89,6 @@ instance FromJSON AppSettings where
appMutableStatic <- o .:? "mutable-static" .!= defaultDev
appSkipCombining <- o .:? "skip-combining" .!= defaultDev
appCopyright <- o .: "copyright"
appAnalytics <- o .:? "analytics"
-- This code enables MySQL's strict mode, without which MySQL will truncate data.