mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-10 21:17:07 +08:00
✨ feat: 增加手動廣告位置
✨ feat: aside info 裏添加本站總文字 🎨 refactor: post-meta代碼結構
This commit is contained in:
@@ -8,13 +8,17 @@ block content
|
||||
if (theme.post_meta.post.tags)
|
||||
.post-meta__tag-list
|
||||
each item, index in page.tags.data
|
||||
a(href=url_for(item.path)).post-meta__tags #[=item.name]
|
||||
a(href=url_for(item.path)).post-meta__tags #[=item.name]
|
||||
!=partial('includes/share/index', {}, {cache:theme.fragment_cache})
|
||||
|
||||
if theme.reward.enable
|
||||
!=partial('includes/post/reward', {}, {cache:theme.fragment_cache})
|
||||
|
||||
//- ad
|
||||
if theme.ad && theme.ad.post
|
||||
.post-ad!=theme.ad.post
|
||||
|
||||
include includes/pagination.pug
|
||||
|
||||
if theme.related_post && theme.related_post.enable
|
||||
!= related_posts(page,site.posts)
|
||||
if page.comments !== false
|
||||
|
||||
Reference in New Issue
Block a user