Skip to content

Instantly share code, notes, and snippets.

@harfangk
Created February 20, 2019 02:13
Show Gist options
  • Save harfangk/51a1b5668939da9c819e9d085824ddcf to your computer and use it in GitHub Desktop.
Save harfangk/51a1b5668939da9c819e9d085824ddcf to your computer and use it in GitHub Desktop.
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