john melesky 8 lat temu
rodzic
commit
b98ac81398
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      site.hs

+ 2 - 2
site.hs

@@ -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