diff options
Diffstat (limited to 'src/Hakyll')
-rw-r--r-- | src/Hakyll/Core/Configuration.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Hakyll/Core/Configuration.hs b/src/Hakyll/Core/Configuration.hs index fdca879..5382b6d 100644 --- a/src/Hakyll/Core/Configuration.hs +++ b/src/Hakyll/Core/Configuration.hs @@ -8,6 +8,7 @@ module Hakyll.Core.Configuration -------------------------------------------------------------------------------- +import Data.Default (Default(..)) import Data.List (isPrefixOf, isSuffixOf) import System.FilePath (normalise, takeFileName) @@ -56,6 +57,9 @@ data Configuration = Configuration inMemoryCache :: Bool } +-------------------------------------------------------------------------------- +instance Default Configuration where + def = defaultConfiguration -------------------------------------------------------------------------------- -- | Default configuration for a hakyll application |