|
@@ -40,8 +40,8 @@ main = hakyll $ do
|
|
|
match "posts/*" $ do
|
|
|
route $ setExtension "html"
|
|
|
compile $ pandocCompiler
|
|
|
- >>= loadAndApplyTemplate "templates/post.html" postCtxWithTags
|
|
|
- >>= loadAndApplyTemplate "templates/default.html" postCtxWithTags
|
|
|
+ >>= loadAndApplyTemplate "templates/post.html" (postCtxWithTags tags)
|
|
|
+ >>= loadAndApplyTemplate "templates/default.html" (postCtxWithTags tags)
|
|
|
>>= relativizeUrls
|
|
|
|
|
|
create ["archive.html"] $ do
|