diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Main.hs | 4 |
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 |