feat: 增加手動廣告位置

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

View File

@@ -0,0 +1,2 @@
.card-widget.card-ad
!= theme.ad.aside

View File

@@ -12,6 +12,10 @@
.webinfo-item
.webinfo-runtime-name= _p('aside.card_webinfo.runtime_name') + " :"
#webinfo-runtime-count.webinfo-runtime-count(start_date=theme.runtimeshow.start_date)
if theme.wordcount.total_wordcount
.webinfo-item
.webinfo-site-wordcount-name=_p('aside.card_webinfo.site_wordcount') + " :"
.webinfo-site-wordcount=totalcount(site)
if theme.busuanzi.site_uv
.webinfo-item
.webinfo-site-uv-name= _p('aside.card_webinfo.site_uv_name') + " :"

View File

@@ -7,6 +7,8 @@ if theme.aside.enable
!=partial('includes/widget/card_announcement', {}, {cache:theme.fragment_cache})
if theme.aside.card_recent_post
!=partial('includes/widget/card_recent_post', {}, {cache:theme.fragment_cache})
if theme.ad && theme.ad.aside
!=partial('includes/widget/card_ad', {}, {cache:theme.fragment_cache})
if theme.aside.card_categories
!=partial('includes/widget/card_categories', {}, {cache:theme.fragment_cache})
if theme.aside.card_tags