aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 72a4de8..50a562d 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -30,7 +30,7 @@ main = hakyllWith configuration $ do
match "recettes/**" $ do
route $ setExtension "html"
compile $ pandocCompiler
- >>= loadAndApplyTemplate "templates/main.html" defaultContext
+ >>= loadAndApplyTemplate "templates/recipe.html" defaultContext
>>= relativizeUrls
match "index.html" $ do
@@ -44,7 +44,7 @@ main = hakyllWith configuration $ do
compile $
getResourceBody
>>= applyAsTemplate context
- >>= loadAndApplyTemplate "templates/main.html" context
+ >>= loadAndApplyTemplate "templates/index.html" context
>>= relativizeUrls
match "templates/*" $ compile templateBodyCompiler