mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 19:30:54 +08:00
2. Feature: 增加頁面排版,可選擇把右邊欄放在左邊 3. Feature: 增加 Note (Bootstrap Callout) (移植於next主題) 4. Feature: 手機上能夠查看TOC 5. Feature: 增加直達評論按鈕 6. Fix: 修復post頁在寬度1024px下的顯示bug 7. Fix: 修復代碼框部分語言沒有顯示正確的代碼語言 8. Fix: 修復設置裏把Disqus註釋掉無法運行的bug
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
.card_widget.card-author
|
|
.card-content
|
|
.post_data
|
|
.data-item.text-center
|
|
img.lozad(src=theme.avatar || url_for('/img/avatar.png') onerror=`onerror=null;src='${theme.lodding_bg.flink}'`)
|
|
p.author-info__name.text-center= config.author
|
|
p.author-info__description.text-center= config.description
|
|
|
|
.post_data.data_config
|
|
if site.posts.length
|
|
.data-item.text-center
|
|
.data_link
|
|
a(href=url_for(config.archive_dir) + '/')
|
|
p.headline= _p('aside.articles')
|
|
p.length_num= site.posts.length
|
|
|
|
if site.tags.length
|
|
.data-item.text-center
|
|
.data_link
|
|
a(href=url_for(config.tag_dir) + '/' )
|
|
p.headline= _p('aside.tags')
|
|
p.length_num= site.tags.length
|
|
|
|
if site.categories.length
|
|
.data-item.text-center
|
|
.data_link
|
|
a(href=url_for(config.category_dir) + '/')
|
|
p.headline= _p('aside.categories')
|
|
p.length_num= site.categories.length
|
|
|
|
.post_data.text-center
|
|
a#bookmark-it.data-item.bookmark.bookmarke--primary.bookmark--animated(href="javascript:;" title= _p('aside.card_bookmark') )= _p('aside.card_bookmark') || 'Follow Me'
|
|
|
|
|
|
|
|
if(theme.social)
|
|
.post_data.data_config
|
|
#aside-social-icons
|
|
each url, icon in theme.social
|
|
a.social-icon.data-item(href=url target="_blank")
|
|
i(class=icon)
|