Created
February 20, 2019 02:13
-
-
Save harfangk/51a1b5668939da9c819e9d085824ddcf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main :: IO () | |
main = hakyll $ do | |
match "images/*" $ do | |
route idRoute | |
compile copyFileCompiler | |
match "css/*" $ do | |
route idRoute | |
compile compressCssCompiler | |
{- | |
hakyll :: Rules a -> IO () | |
match :: Pattern -> Rules () -> Rules () | |
route :: Routes -> Rules () | |
compile :: (Binary a, Typeable a, Writable a) => Compiler (Item a) -> Rules () | |
-} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment