소스 검색

tag testing

john melesky 8 년 전
부모
커밋
b98ac81398
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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