summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Site.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Site.hs b/src/Site.hs
index b949807..6cecb85 100644
--- a/src/Site.hs
+++ b/src/Site.hs
@@ -38,7 +38,7 @@ main = hakyllWith config $ do
38 route idRoute 38 route idRoute
39 compile copyFileCompiler 39 compile copyFileCompiler
40 40
41 math <- getMath "posts/*" mathTranslation' 41 math <- getMath "posts/**" mathTranslation'
42 forM_ math $ \(_, mathStr) -> create [mathTranslation' mathStr] $ do 42 forM_ math $ \(_, mathStr) -> create [mathTranslation' mathStr] $ do
43 route idRoute 43 route idRoute
44 compile $ do 44 compile $ do
@@ -48,9 +48,9 @@ main = hakyllWith config $ do
48 saveSnapshot "alignment" $ fmap snd item 48 saveSnapshot "alignment" $ fmap snd item
49 return $ fmap fst item 49 return $ fmap fst item
50 50
51 tags <- buildTags "posts/*" tagTranslation' >>= addTag "All Posts" "posts/*" 51 tags <- buildTags "posts/**" tagTranslation' >>= addTag "All Posts" "posts/**"
52 52
53 match "posts/*" $ do 53 match "posts/**" $ do
54 route $ setExtension ".html" 54 route $ setExtension ".html"
55 compile $ do 55 compile $ do
56 let ctx = mconcat [ defaultContext 56 let ctx = mconcat [ defaultContext