hexo/node_modules/hexo-theme-butterfly/layout/category.pug

14 lines
421 B
Plaintext
Raw Normal View History

2023-09-25 15:58:56 +08:00
extends includes/layout.pug
block content
if theme.category_ui == 'index'
include ./includes/mixins/post-ui.pug
#recent-posts.recent-posts.category_ui
+postUI
include includes/pagination.pug
else
include ./includes/mixins/article-sort.pug
#category
.article-sort-title= _p('page.category') + ' - ' + page.category
+articleSort(page.posts)
include includes/pagination.pug