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 <collin.doering@rekahsoft.ca>
This commit is contained in:
parent
16a5e700cd
commit
d16c970ae2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue