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:
parent
c996018486
commit
0f8a553b51
3 changed files with 2 additions and 5 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue