feat: 增加手動廣告位置

 feat: aside info 裏添加本站總文字
🎨 refactor: post-meta代碼結構
This commit is contained in:
Jerry
2020-03-20 18:28:13 +08:00
parent ce72ba4f5d
commit 0ba52293a2
14 changed files with 111 additions and 56 deletions

View File

@@ -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