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

14 lines
434 B
Plaintext
Raw Normal View History

2023-10-03 11:14:36 +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)
2023-09-25 15:58:56 +08:00
include includes/pagination.pug