Loading src/Config.hs +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading Loading
src/Config.hs +1 −1 Original line number Diff line number Diff line Loading @@ -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) Loading