From 13d29804ba4bb8d578fb0278ddeb6e187bbafa6f Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 1 Feb 2020 14:37:28 +0100 Subject: Add return link --- src/Main.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Main.hs') 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 -- cgit v1.2.3