From d16c970ae23f5ef9d0dc6763b4f44accfa420511 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Sun, 16 Aug 2015 01:50:35 -0400 Subject: [PATCH] Removed unused "weight" context The constField "weight" is no longer needed to be set to zero when generating blog pages because the paginated pages are no longer captured when generating the navigation (context). Signed-off-by: Collin J. Doering --- src/site.hs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/site.hs b/src/site.hs index b3602d8..d3b915b 100644 --- a/src/site.hs +++ b/src/site.hs @@ -234,7 +234,6 @@ main = do let ctx = taggedPostCtx tags <> paginateContext paginatedPosts pageNum <> - constField "weight" "0" <> listField "posts" (taggedPostCtx tags) (return posts) indexCtx = if pageNum <= 2 then appCacheCtx <> navCtx