Commit 66f77ab3 authored by Nicolas Lenz's avatar Nicolas Lenz ❄️
Browse files

Fix incorrect default for activeOnArticles config

parent 1b213744
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ instance FromJSON NavItem where
    parseJSON = withObject "NavItem" $ \v -> NavItem
        <$> v .: "name"
        <*> v .: "link"
        <*> v .:? "activeOnArticles" .!= True
        <*> v .:? "activeOnArticles" .!= False

-- | Loads a config file from the nebelhorn.yaml in the current directory.
loadConfig :: IO (Either ParseException Config)