mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2025-09-15 12:58:48 +08:00
feat: 代碼框設置高度限制,展開後按鈕不會消失,可點擊再次摺疊 close #637 feat: 增加 no-lightbox class 偵測,可配置 fancybox 和 medium-zoom 不應用於圖片 #636 fix: 修復開啟 lazyload 時, fancybox 的縮略圖顯示 lazyload 加載圖片的 bug
14 lines
421 B
Plaintext
14 lines
421 B
Plaintext
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 |