Kaynağa Gözat

tag testing

john melesky 8 yıl önce
ebeveyn
işleme
b98ac81398
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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