diff options
| author | Carlos Sosa <gnusosa@gnusosa.net> | 2019-08-18 21:33:05 -0700 |
|---|---|---|
| committer | Carlos Sosa <gnusosa@gnusosa.net> | 2019-08-18 21:33:05 -0700 |
| commit | 03a8fc8f75a1bf0f5afb7d0dd11cd7e881a7d763 (patch) | |
| tree | 2e49edb06b03054b49529011e435832c35dbc237 /site.hs | |
| parent | 6fb9013f18aa621a466c4c13c4cc320a1a724424 (diff) | |
DRY up the post lists and remove the unnecessary archive template
Diffstat (limited to 'site.hs')
| -rw-r--r-- | site.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,7 +25,7 @@ main = hakyll $ do route idRoute compile $ do makeItem "" - >>= loadAndApplyTemplate "templates/archive.html" postForArchiveCtx + >>= loadAndApplyTemplate "templates/post-list.html" postForArchiveCtx >>= loadAndApplyTemplate "templates/post.html" archiveCtx >>= relativizeUrls @@ -39,7 +39,7 @@ main = hakyll $ do route idRoute compile $ do makeItem "" - >>= loadAndApplyTemplate "templates/archive.html" gsocPostForArchiveCtx + >>= loadAndApplyTemplate "templates/post-list.html" gsocPostForArchiveCtx >>= loadAndApplyTemplate "templates/post.html" gsocArchiveCtx >>= relativizeUrls |
