hexo-theme-butterfly/layout/category.pug
2025-02-16 20:38:17 +08:00

12 lines
358 B
Plaintext

extends includes/layout.pug
block content
if theme.category_ui == 'index'
include ./includes/mixins/indexPostUI.pug
+indexPostUI
else
include ./includes/mixins/article-sort.pug
#category
.article-sort-title= _p('page.category') + ' - ' + page.category
+articleSort(page.posts)
include includes/pagination.pug