add theme
This commit is contained in:
12
themes/butterfly/layout/category.pug
Normal file
12
themes/butterfly/layout/category.pug
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user