|
|
@ -6,8 +6,14 @@ import Hakyll |
|
|
|
import Hakyll.Web.Sass (sassCompiler) |
|
|
|
import Hakyll.Web.Sass (sassCompiler) |
|
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------- |
|
|
|
-------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
config :: Configuration |
|
|
|
|
|
|
|
config = |
|
|
|
|
|
|
|
defaultConfiguration |
|
|
|
|
|
|
|
{ previewPort = 4053 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
main :: IO () |
|
|
|
main :: IO () |
|
|
|
main = hakyll $ do |
|
|
|
main = hakyllWith config $ do |
|
|
|
match "images/*" $ do |
|
|
|
match "images/*" $ do |
|
|
|
route idRoute |
|
|
|
route idRoute |
|
|
|
compile copyFileCompiler |
|
|
|
compile copyFileCompiler |
|
|
|