custom categoryBar
This commit is contained in:
@@ -2,6 +2,8 @@ mixin indexPostUI()
|
||||
- const indexLayout = theme.index_layout
|
||||
- const masonryLayoutClass = (indexLayout === 6 || indexLayout === 7) ? 'masonry' : ''
|
||||
#recent-posts.recent-posts.nc(class=masonryLayoutClass)
|
||||
#category-bar.category-bar
|
||||
include ../categoryBar.pug
|
||||
.recent-post-items
|
||||
each article, index in page.posts.data
|
||||
.recent-post-item
|
||||
|
||||
Reference in New Issue
Block a user