Commit 66f77ab3 authored by Nicolas Lenz's avatar Nicolas Lenz

Fix incorrect default for activeOnArticles config

parent 1b213744
Pipeline #292 passed with stage
in 2 minutes and 51 seconds
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment