custom categoryBar

This commit is contained in:
2025-08-14 16:15:18 +08:00
parent b0a4ee340b
commit 2c9440b16a
8 changed files with 114 additions and 4 deletions

View File

@@ -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