aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoris2020-02-01 14:37:28 +0100
committerJoris2020-02-01 14:37:28 +0100
commit13d29804ba4bb8d578fb0278ddeb6e187bbafa6f (patch)
tree8e481a9eaf04c8bc0267a469d9b320ed22bf1953 /src
parent370b60976bdc36ad2a55379bc03f9fabefd703f4 (diff)
Add return link
Diffstat (limited to 'src')
-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