diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Site.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Site.hs b/src/Site.hs index cbdf2d8..241f596 100644 --- a/src/Site.hs +++ b/src/Site.hs | |||
@@ -38,6 +38,7 @@ main = hakyllWith config $ do | |||
38 | compile $ do | 38 | compile $ do |
39 | let ctx = mconcat [ constField "title" tag | 39 | let ctx = mconcat [ constField "title" tag |
40 | , listField "posts" defaultContext $ chronological =<< loadAll pattern | 40 | , listField "posts" defaultContext $ chronological =<< loadAll pattern |
41 | , constField "rss" $ "/rss" </> tagTranslation tag <.> "rss" | ||
41 | , defaultContext | 42 | , defaultContext |
42 | ] | 43 | ] |
43 | makeItem "" | 44 | makeItem "" |
@@ -62,6 +63,7 @@ main = hakyllWith config $ do | |||
62 | compile $ do | 63 | compile $ do |
63 | let ctx = mconcat [ listField "tags" defaultContext $ mapM (\(k, _) -> renderTag k tags) $ tagsMap tags | 64 | let ctx = mconcat [ listField "tags" defaultContext $ mapM (\(k, _) -> renderTag k tags) $ tagsMap tags |
64 | , constField "title" "Index" | 65 | , constField "title" "Index" |
66 | , constField "rss" "/rss/all-posts.rss" | ||
65 | , defaultContext | 67 | , defaultContext |
66 | ] | 68 | ] |
67 | item <- getResourceBody | 69 | item <- getResourceBody |