Remove copyright field from settings, copyright is wrong!

This commit is contained in:
fr33domlover 2016-04-19 15:47:26 +00:00
parent 242e04a3ce
commit 5ae09c2ad7
3 changed files with 3 additions and 7 deletions

View file

@ -41,4 +41,3 @@ database:
repo-dir: repos
ssh-port: 5022
ssh-key-file: config/ssh-host-key
copyright: Insert your statement against copyright here

View file

@ -75,12 +75,10 @@ data AppSettings = AppSettings
, appSshPort :: Int
-- | Path to the server's SSH private key file
, appSshKeyFile :: FilePath
-- | Copyright text to appear in the footer of the page
, appCopyright :: Text
}
instance FromJSON AppSettings where
parseJSON = withObject "AppSettings" $ \o -> do
parseJSON = withObject "AppSettings" $ \ o -> do
let defaultDev =
#if DEVELOPMENT
True
@ -103,7 +101,6 @@ instance FromJSON AppSettings where
appRepoDir <- o .: "repo-dir"
appSshPort <- o .: "ssh-port"
appSshKeyFile <- o .: "ssh-key-file"
appCopyright <- o .: "copyright"
return AppSettings {..}

View file

@ -40,5 +40,5 @@ $# document.documentElement.className = document.documentElement.className.re
<header>
<div id="main" role="main">
^{pageBody pc}
<footer>
#{appCopyright $ appSettings master}
$# <footer>
$# #{appCopyright $ appSettings master}