hexo-theme-solitude 1.13.4 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/README.md +26 -29
  2. package/README_zh-Hant.md +1 -1
  3. package/{README_en-US.md → README_zh_CN.md} +29 -26
  4. package/_config.yml +150 -597
  5. package/languages/default.yml +1 -0
  6. package/languages/en.yml +1 -0
  7. package/layout/404.pug +1 -1
  8. package/layout/includes/console.pug +7 -7
  9. package/layout/includes/footer.pug +6 -6
  10. package/layout/includes/head/config.pug +5 -5
  11. package/layout/includes/inject/body.pug +1 -0
  12. package/layout/includes/inject/head.pug +1 -1
  13. package/layout/includes/mixins/articleSort.pug +3 -1
  14. package/layout/includes/mixins/pagination.pug +2 -2
  15. package/layout/includes/nav.pug +2 -1
  16. package/layout/includes/page/categories.pug +3 -2
  17. package/layout/includes/page/says.pug +5 -5
  18. package/layout/includes/page/tags.pug +3 -2
  19. package/layout/includes/rightmenu.pug +19 -20
  20. package/layout/includes/sidebar.pug +1 -1
  21. package/layout/includes/widgets/aside/asideInfoCard.pug +1 -1
  22. package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
  23. package/layout/includes/widgets/aside/asideNewstComments.pug +2 -2
  24. package/layout/includes/widgets/aside/asideToc.pug +1 -1
  25. package/layout/includes/widgets/aside/asideWebInfo.pug +10 -10
  26. package/layout/includes/widgets/home/bbTimeList.pug +7 -9
  27. package/layout/includes/widgets/home/carousel.pug +3 -1
  28. package/layout/includes/widgets/home/categoryBar.pug +1 -1
  29. package/layout/includes/widgets/home/hot/artalk.pug +1 -1
  30. package/layout/includes/widgets/home/hot/twikoo.pug +1 -1
  31. package/layout/includes/widgets/home/postList.pug +4 -2
  32. package/layout/includes/widgets/home/topGroup.pug +1 -1
  33. package/layout/includes/widgets/nav/right.pug +9 -5
  34. package/layout/includes/widgets/page/about/award.pug +1 -1
  35. package/layout/includes/widgets/page/about/hobbies.pug +1 -1
  36. package/layout/includes/widgets/page/about/other.pug +1 -1
  37. package/layout/includes/widgets/page/banner.pug +1 -1
  38. package/layout/includes/widgets/page/equipment/content.pug +1 -1
  39. package/layout/includes/widgets/page/links/banner.pug +2 -2
  40. package/layout/includes/widgets/page/recentcomment/artalk.pug +1 -1
  41. package/layout/includes/widgets/page/recentcomment/twikoo.pug +1 -1
  42. package/layout/includes/widgets/page/recentcomment/valine.pug +1 -1
  43. package/layout/includes/widgets/page/recentcomment/waline.pug +1 -1
  44. package/layout/includes/widgets/post/award.pug +1 -1
  45. package/layout/includes/widgets/post/copyright.pug +10 -10
  46. package/layout/includes/widgets/post/post-ai.pug +1 -1
  47. package/layout/includes/widgets/post/postInfo.pug +20 -18
  48. package/layout/includes/widgets/third-party/comments/comment.pug +4 -4
  49. package/layout/includes/widgets/third-party/search/algolia-search.pug +1 -4
  50. package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
  51. package/layout/includes/widgets/third-party/tianli-talk.pug +1 -1
  52. package/layout/post.pug +3 -2
  53. package/layout/tag.pug +3 -2
  54. package/package.json +1 -1
  55. package/plugins.yml +6 -6
  56. package/scripts/helper/related_post.js +1 -1
  57. package/scripts/helper/stylus.js +1 -0
  58. package/source/css/_global/index.styl +13 -13
  59. package/source/css/_highlight/index.styl +2 -2
  60. package/source/css/_highlight/theme/default.styl +1 -1
  61. package/source/css/_highlight/theme/mac.styl +1 -1
  62. package/source/css/_layout/console.styl +2 -1
  63. package/source/css/_layout/footer.styl +1 -1
  64. package/source/css/_layout/header.styl +66 -21
  65. package/source/css/_page/_home/category-bar.styl +4 -4
  66. package/source/css/_page/_home/home-top.styl +2 -0
  67. package/source/css/_page/_home/hot-tip.styl +2 -1
  68. package/source/css/_post/copyright.styl +104 -105
  69. package/source/css/_search/algolia-search.styl +0 -6
  70. package/source/js/covercolor/local.js +10 -4
  71. package/source/js/main.js +5 -5
  72. package/source/js/tw_cn.js +0 -3
@@ -41,6 +41,7 @@ home:
41
41
  sticky: Sticky
42
42
  new: New
43
43
  read: Unread
44
+ recommend: Recommend
44
45
  recommendmore: More
45
46
  archives: All articles
46
47
 
package/languages/en.yml CHANGED
@@ -41,6 +41,7 @@ home:
41
41
  sticky: Sticky
42
42
  new: New
43
43
  read: Unread
44
+ recommend: Recommend
44
45
  recommendmore: More
45
46
  archives: All articles
46
47
 
package/layout/404.pug CHANGED
@@ -8,7 +8,7 @@ block content
8
8
  h1.error_title 404
9
9
  .error_subtitle= theme.errorpage.text
10
10
  a.button--animated(href=url_for("/"))
11
- i.solitude.st-external-link
11
+ i.solitude.fa-solid.fa-arrow-up-right-from-square
12
12
  =_p('404.button')
13
13
 
14
14
  if theme.errorpage.recommendList
@@ -5,7 +5,7 @@
5
5
 
6
6
  div#console
7
7
  div.close-btn(onclick="sco.hideConsole()")
8
- i.solitude.st-close-fill
8
+ i.solitude.fa-solid.fa-xmark
9
9
  div.console-card-group
10
10
  if use && recentComment.enable
11
11
  div.console-card-group-left
@@ -16,7 +16,7 @@ div#console
16
16
  | #{_p('console.comment_title')}
17
17
  if theme.recent_comments.enable
18
18
  a.recent-comment-more(href=url_for(theme.recent_comments.page) title=_p('console.recent_comment_more'))
19
- i.solitude.st-right-btn-fill
19
+ i.solitude.fa-solid.fa-circle-chevron-right
20
20
  .console_recentcomments
21
21
  - var sel = '.console-card .console_recentcomments'
22
22
  case use[0]
@@ -50,20 +50,20 @@ div#console
50
50
  div.button-group
51
51
  div.console-btn-item
52
52
  span.darkmode_switchbutton(onclick="sco.switchDarkMode()", title=_p('console.switch_darkmode'))
53
- i.solitude.st-moon-clear-fill
53
+ i.solitude.fa-solid.fa-circle-half-stroke
54
54
  div.console-btn-item#consoleHideAside
55
55
  span.asideSwitch(onclick="sco.switchHideAside()", title=_p('console.switch_hideAside'))
56
- i.solitude.st-side-bar-fill
56
+ i.solitude.fa-solid.fa-mattress-pillow
57
57
  if theme.keyboard.enable
58
58
  div.console-btn-item#consoleKeyboard(onclick="sco.switchKeyboard()")
59
59
  span.keyboardSwitch(title=_p('console.switch_keyboard'))
60
- i.solitude.st-keyboard-box-fill
60
+ i.solitude.fa-solid.fa-keyboard
61
61
  if theme.capsule.enable
62
62
  div.console-btn-item#consoleMusic(onclick="sco.musicToggle()")
63
63
  span.music-switch(title=_p('console.switch_music'))
64
- i.solitude.st-disc-fill
64
+ i.solitude.fa-solid.fa-compact-disc
65
65
  if theme.comment.use && theme.comment.commentBarrage
66
66
  div.console-btn-item.on#consoleCommentBarrage(onclick="sco.switchCommentBarrage()")
67
67
  span.commentBarrage
68
- i.solitude.st-chat-fill
68
+ i.solitude.fa-solid.fa-comment
69
69
  div.console-mask(onclick="sco.hideConsole()")
@@ -42,7 +42,7 @@ div#st-footer
42
42
  div.footer-title-group
43
43
  h3.footer-title= _p('footer.randomlink')
44
44
  button.random-friends-btn(onclick='randomLinksList()', title=_p('footer.randomlink'))
45
- i.solitude.st-refresh-line
45
+ i.solitude.fa-solid.fa-arrows-rotate
46
46
  div.footer-links#friend-links-in-footer
47
47
  div#footer-bar
48
48
  div.footer-bar-links
@@ -57,16 +57,16 @@ div#footer-bar
57
57
  each item in theme.footer.links
58
58
  a.footer-bar-link(href=url_for(item.url), alt=item.name)!= item.name
59
59
  a.footer-bar-link.cc(href=url_for(theme.footer.license), aria-label = 'copyright')
60
- i.solitude.st-copyright-line
61
- i.solitude.st-creative-commons-by-line
62
- i.solitude.st-creative-commons-nc-line
63
- i.solitude.st-creative-commons-nd-line
60
+ i.solitude.fa-solid.fa-copyright
61
+ i.solitude.fa-brands.fa-creative-commons-by
62
+ i.solitude.fa-brands.fa-creative-commons-nc
63
+ i.solitude.fa-brands.fa-creative-commons-nd
64
64
  if theme.footer.privacy
65
65
  div.needEndHide#cookies-window
66
66
  div.cookies-window-title= __('cookies.title')
67
67
  div.cookies-window-content
68
68
  span.cookies-tip= __('cookies.tip')
69
69
  a.cookies-link(href=url_for(theme.footer.privacy), title=_p('cookies.privacy'))
70
- i.solitude.st-right-btn-fill
70
+ i.solitude.fa-solid.fa-circle-chevron-right
71
71
  if theme.comment.use && theme.comment.commentBarrage
72
72
  div.comment-barrage.needEndHide
@@ -166,11 +166,11 @@ script.
166
166
  lang: !{JSON.stringify(lang)},
167
167
  aside: {
168
168
  sayhello: {
169
- morning: '!{theme.aside.card.sayhello.morning}',
170
- noon: '!{theme.aside.card.sayhello.noon}',
171
- afternoon: '!{theme.aside.card.sayhello.afternoon}',
172
- night: '!{theme.aside.card.sayhello.night}',
173
- goodnight: '!{theme.aside.card.sayhello.goodnight}',
169
+ morning: "!{theme.aside.card.sayhello.morning}",
170
+ noon: "!{theme.aside.card.sayhello.noon}",
171
+ afternoon: "!{theme.aside.card.sayhello.afternoon}",
172
+ night: "!{theme.aside.card.sayhello.night}",
173
+ goodnight: "!{theme.aside.card.sayhello.goodnight}",
174
174
  },
175
175
  sayhello2: [!{sayhello2}],
176
176
  sayhello3: {
@@ -18,6 +18,7 @@ div
18
18
 
19
19
  if theme.mermaid
20
20
  script(src=url_for(theme.cdn.mermaid_js))
21
+
21
22
  if theme.post.share.enable && theme.post.share.list && theme.post.share.list.includes('qrcode')
22
23
  script(src=url_for(theme.cdn.qrcode))
23
24
 
@@ -2,7 +2,7 @@ each item in theme.verify_site || []
2
2
  meta(name=item.name, content=item.content)
3
3
 
4
4
  link(rel="canonical" href=urlNoIndex())
5
- link(rel="stylesheet", href=url_for(theme.cdn.solitude_css))
5
+ link(rel="stylesheet", href=url_for(theme.cdn.fontawesome))
6
6
 
7
7
  // aplayer
8
8
  if theme.capsule.enable || theme.music.enable
@@ -11,4 +11,6 @@ each post in page.posts.find({ parent: { $exists: false } }).data
11
11
  .article-sort-item-tags
12
12
  each tags in post.tags.data
13
13
  a.article-meta__tags(href=url_for(tags.path) onclick="window.event.cancelBubble=true;")
14
- span.tags-punctuation #{tags.name}
14
+ span.tags-punctuation
15
+ i.solitude.fa-solid.fa-hashtag
16
+ =tags.name
@@ -1,8 +1,8 @@
1
1
  nav#pagination
2
2
  div.pagination
3
- - var options = {mid_size: 1,escape: false,next_text: `<div class="pagination_tips_next">${_p("pagination.next")}</div> <i class="solitude st-arrow-right-bold"></i>`,prev_text: `<i class="solitude st-arrow-left-bold"></i> <div class="pagination_tips_prev">${_p("pagination.prev")}</div>`}
3
+ - var options = {mid_size: 1,escape: false,next_text: `<div class="pagination_tips_next">${_p("pagination.next")}</div> <i class="solitude fa-solid fa-chevron-right"></i>`,prev_text: `<i class="solitude fa-solid fa-chevron-left"></i> <div class="pagination_tips_prev">${_p("pagination.prev")}</div>`}
4
4
  !=paginator(options)
5
5
  div.toPageGroup
6
6
  input#toPageText(oninput="value=value.replace(/[^0-9]/g,'')" maxlength="3" title=_p('pagination.to') onkeyup="if (this.value === '0') this.value = ''")
7
7
  a#toPageButton(onclick="sco.toPage()")
8
- i.solitude.st-show-right-line
8
+ i.solitude.fa-solid.fa-angles-right
@@ -3,7 +3,7 @@ nav#nav.show
3
3
  #blog_name
4
4
  if theme.nav.group
5
5
  .back-home-button(tabindex="-1")
6
- i.back-home-button-icon.solitude.st-more-fill
6
+ i.back-home-button-icon.solitude.fab.fa-squarespace
7
7
  include ./widgets/nav/group
8
8
  a#site-name(href=url_for("/"), title=_p('nav.site_name_title'))
9
9
  if theme.site.name.class === 'i_class'
@@ -12,6 +12,7 @@ nav#nav.show
12
12
  img(src=theme.site.name.custom, alt=config.title)
13
13
  else if theme.site.name.class === 'text'
14
14
  span.title= theme.site.name.custom
15
+ i.solitude.fa-solid.fa-home
15
16
  #page-name-mask
16
17
  #page-name
17
18
  a#page-name-text(onclick="sco.toTop()")= title || config.title
@@ -4,5 +4,6 @@ h1.page-title= _p('page.category')
4
4
  each item in site.categories.find({ parent: { $exists: false } }).data
5
5
  a(href=url_for(item.path))
6
6
  span.tags-punctuation
7
- = item.name
8
- span.tagsPageCount= item.length
7
+ i.solitude.fa-solid.fa-hashtag
8
+ = item.name
9
+ span.tagsPageCount= item.length
@@ -13,7 +13,7 @@ if theme.says.enable
13
13
  time.datetime.bber_date(datetime=moment(item.date).format())
14
14
  if item.content
15
15
  a.bber-reply.goComment(onclick=`sco.toTalk('${item.content}')`)
16
- i.solitude.st-chat-fill
16
+ i.solitude.fa-solid.fa-comment
17
17
 
18
18
  #bber-content
19
19
  p.datacont= item.content
@@ -38,19 +38,19 @@ if theme.says.enable
38
38
  .bber-bottom
39
39
  .bber-info
40
40
  .bber-info-time
41
- i.solitude.st-calendar-todo-fill
41
+ i.solitude.fa-solid.fa-calendar-days
42
42
  time.datetime(datetime=moment(item.date).format())
43
43
  if item.location
44
44
  .bber-info-location
45
- i.solitude.st-map-pin-fill
45
+ i.solitude.fa-solid.fa-map
46
46
  | #{item.location}
47
47
  if item.link
48
48
  a.bber-content-link(href=url_for(item.link) target="_blank")
49
- i.solitude.st-link-m-line
49
+ i.solitude.fa-solid.fa-link
50
50
  | 链接
51
51
  if item.content
52
52
  a.bber-reply(onclick=`sco.toTalk('${item.content}')`)
53
- i.solitude.st-chat-fill
53
+ i.solitude.fa-solid.fa-comment
54
54
  #bber-tips
55
55
  if theme.says.strip === -1
56
56
  | - 已展开所有短文 -
@@ -4,5 +4,6 @@ h1.page-title= __('page.tag')
4
4
  each tag in site.tags.find({ parent: { $exists: false } }).data
5
5
  a(href=url_for(tag.path))
6
6
  span.tags-punctuation
7
- = tag.name
8
- span.tagsPageCount= tag.length
7
+ i.solitude.fa-solid.fa-hashtag
8
+ = tag.name
9
+ span.tagsPageCount= tag.length
@@ -3,52 +3,52 @@
3
3
  div#rightMenu
4
4
  div.rightMenu-group.rightMenu-small
5
5
  div.rightMenu-item#menu-backward
6
- i.solitude.st-arrow-left-line
6
+ i.solitude.fa-solid.fa-arrow-left
7
7
  div.rightMenu-item#menu-forward
8
- i.solitude.st-arrow-right-line
8
+ i.solitude.fa-solid.fa-arrow-right
9
9
  div.rightMenu-item#menu-refresh
10
- i.solitude.st-restart-line
10
+ i.solitude.fa-solid.fa-arrow-rotate-right
11
11
  div.rightMenu-item#menu-top
12
- i.solitude.st-arrow-up-line
12
+ i.solitude.fa-solid.fa-arrow-up
13
13
  div.rightMenu-group.rightMenu-line.rightMenuPlugin
14
14
  div.rightMenu-item#menu-copytext
15
- i.solitude.st-copy-fill
15
+ i.solitude.fa-solid.fa-clone
16
16
  span= _p('right_menu.copy')
17
17
  div.rightMenu-item#menu-pastetext
18
- i.solitude.st-clipboard-fill
18
+ i.solitude.fa-solid.fa-clipboard
19
19
  span= _p('right_menu.paste')
20
20
  if theme.comment.use
21
21
  div.rightMenu-item#menu-commenttext
22
- i.solitude.st-chat-new-fill
22
+ i.solitude.fa-solid.fa-comment-medical
23
23
  span= _p('right_menu.comment')
24
24
  div.rightMenu-item#menu-newwindow
25
- i.solitude.st-window-fill
25
+ i.solitude.fa-regular.fa-window-maximize
26
26
  span= _p('right_menu.new')
27
27
  div.rightMenu-item#menu-copylink
28
- i.solitude.st-link-line
28
+ i.solitude.fa-solid.fa-link
29
29
  span= _p('right_menu.link')
30
30
  div.rightMenu-item#menu-copyimg
31
- i.solitude.st-copy-fill
31
+ i.solitude.fa-solid.fa-clone
32
32
  span= _p('right_menu.img')
33
33
  div.rightMenu-item#menu-downloadimg
34
- i.solitude.st-download-cloud-fill
34
+ i.solitude.fa-solid.fa-cloud-arrow-down
35
35
  span= _p('right_menu.downloadImg')
36
36
  if theme.search.enable
37
37
  div.rightMenu-item#menu-search
38
- i.solitude.st-search-line
38
+ i.solitude.fa-solid.fa-magnifying-glass
39
39
  span= _p('right_menu.search')
40
40
  if theme.capsule.enable
41
41
  div.rightMenu-item#menu-music-toggle
42
- i.solitude.st-play-fill
42
+ i.solitude.fa-solid.fa-play
43
43
  span= _p('right_menu.music.start')
44
44
  div.rightMenu-item#menu-music-back
45
- i.solitude.st-skip-back-fill
45
+ i.solitude.fa-solid.fa-backward
46
46
  span= _p('right_menu.music.back')
47
47
  div.rightMenu-item#menu-music-forward
48
- i.solitude.st-skip-forward-fill
48
+ i.solitude.fa-solid.fa-forward
49
49
  span= _p('right_menu.music.forward')
50
50
  div.rightMenu-item#menu-music-copyMusicName
51
- i.solitude.st-copy-fill
51
+ i.solitude.fa-solid.fa-clone
52
52
  span= _p('right_menu.music.copyMusicName')
53
53
  div.rightMenu-group.rightMenu-line.rightMenuOther
54
54
  each item,index in custom_list
@@ -58,10 +58,10 @@ div#rightMenu
58
58
  div.rightMenu-group.rightMenu-line.rightMenuOther
59
59
  if theme.right_menu.commentBarrage && theme.comment.use && theme.comment.commentBarrage
60
60
  div.rightMenu-item#menu-commentBarrage(onclick="sco.switchCommentBarrage()")
61
- i.solitude.st-chat-fill
61
+ i.solitude.fa-solid.fa-comment
62
62
  span.menu-commentBarrage-text= _p('right_menu.barrage.close')
63
63
  div.rightMenu-item#menu-darkmode(onclick="sco.switchDarkMode()")
64
- i.solitude.st-moon-clear-fill
64
+ i.solitude.fa-solid.fa-circle-half-stroke
65
65
  case theme.display_mode.type
66
66
  when 'auto'
67
67
  when 'light'
@@ -70,11 +70,10 @@ div#rightMenu
70
70
  span.menu-darkmode-text= _p('right_menu.dark')
71
71
  if theme.right_menu.translate.enable
72
72
  div.rightMenu-item#menu-translate
73
+ i.solitude.fa-solid.fa-language
73
74
  case theme.right_menu.translate.defaultEncoding
74
75
  when 2
75
- i.solitude.st-panben-line
76
76
  span= _p('right_menu.chs_to_cht')
77
77
  when 1
78
- i.solitude.st-jianben-line
79
78
  span= _p('right_menu.cht_to_chs')
80
79
  div#rightmenu-mask
@@ -20,7 +20,7 @@ div#sidebar(style="zoom: 1;")
20
20
  span.sidebar-menu-item-title= __('sidebar.function')
21
21
  div.sidebar-menu-item
22
22
  span.darkmode_switchbutton.menu-child(onclick="sco.switchDarkMode()")
23
- i.solitude.st-moon-clear-fill
23
+ i.solitude.fa-solid.fa-circle-half-stroke
24
24
  span= __('sidebar.darkmode')
25
25
  include ./widgets/nav/group
26
26
  include ./widgets/nav/menu.pug
@@ -63,7 +63,7 @@
63
63
  a.social-icon(href=url_for(trim(array[0])), title=label)
64
64
  i.solitude(class=array[1])
65
65
  span.more-info(onclick="document.querySelector('.social-icons').classList.toggle('show')")
66
- i.solitude.st-more-2-fill
66
+ i.solitude.fa-solid.fa-ellipsis-vertical
67
67
  a.card-info-avatar(href=url_for(theme.aside.card.url) title=_p('aside.avatar'))
68
68
  .avatar-img
69
69
  img(src=theme.aside.card.author.img alt=_p('aside.avatar'))
@@ -1,6 +1,6 @@
1
1
  .card-widget.card-recent-post
2
2
  .item-headline
3
- i.solitude.st-map-line
3
+ i.solitude.fa-solid.fa-map
4
4
  span= _p('aside.newpost')
5
5
  .aside-list
6
6
  - let index = 1
@@ -1,9 +1,9 @@
1
1
  .card-widget.card-recent-comment
2
2
  .item-headline
3
- i.solitude.st-chat-fill
3
+ i.solitude.fa-solid.fa-comment
4
4
  span= _p('aside.newcomment')
5
5
  if theme.recent_comments.enable
6
6
  a.recent-comment-more(href=url_for(theme.recent_comments.page) title=_p('console.recent_comment_more'))
7
- i.solitude.st-right-btn-fill
7
+ i.solitude.fa-solid.fa-circle-chevron-right
8
8
  .aside-list
9
9
  include ../third-party/news-comment/newest-comment.pug
@@ -1,5 +1,5 @@
1
1
  .card-widget#card-toc
2
2
  .item-headline
3
- i.solitude.st-menu-line
3
+ i.solitude.fa-solid.fa-bars
4
4
  span= __('aside.toc')
5
5
  .toc-content#toc-content!= toc(page.content, { list_number: false })
@@ -2,47 +2,47 @@
2
2
  if theme.aside.siteinfo.postcount
3
3
  .webinfo-item
4
4
  .webinfo-item-title
5
- i.item-icon.solitude.st-folder-fill
5
+ i.item-icon.fa-solid.fa-folder-closed
6
6
  .item-name= __('aside.postcount')
7
7
  .item-count= site.posts.length
8
8
  if theme.busuanzi
9
9
  if theme.aside.siteinfo.pv
10
10
  .webinfo-item
11
11
  .webinfo-item-title
12
- i.item-icon.solitude.st-visitor-line
12
+ i.item-icon.solitude.fa-solid.fa-eye
13
13
  .item-name= __('aside.pv')
14
14
  if theme.busuanzi_use === 0
15
15
  span#busuanzi_value_site_pv
16
- i.solitude.st-loading-line
16
+ i.solitude.fa-solid.fa-spinner
17
17
  else
18
18
  span#busuanzi_site_pv
19
- i.solitude.st-loading-line
19
+ i.solitude.fa-solid.fa-spinner
20
20
  if theme.aside.siteinfo.uv
21
21
  .webinfo-item
22
22
  .webinfo-item-title
23
- i.item-icon.solitude.st-team-fill
23
+ i.item-icon.solitude.fa-solid.fa-user
24
24
  .item-name= __('aside.uv')
25
25
  if theme.busuanzi_use === 0
26
26
  span#busuanzi_value_site_uv
27
- i.solitude.st-loading-line
27
+ i.solitude.fa-solid.fa-spinner
28
28
  else
29
29
  span#busuanzi_site_uv
30
- i.solitude.st-loading-line
30
+ i.solitude.fa-solid.fa-spinner
31
31
  if theme.aside.siteinfo.runtimeenable
32
32
  .webinfo-item
33
33
  .webinfo-item-title
34
- i.item-icon.solitude.st-calendar-todo-fill
34
+ i.item-icon.solitude.fa-solid.fa-calendar-days
35
35
  .item-name= __('aside.runtime')
36
36
  .item-count#runtimeshow
37
37
  if theme.aside.siteinfo.updatetime
38
38
  .webinfo-item
39
39
  .webinfo-item-title
40
- i.item-icon.solitude.st-loop-left-fill
40
+ i.item-icon.solitude.fa-solid.fa-rotate-left
41
41
  .item-name= __('aside.updatetime')
42
42
  time.item-count(datetime=new Date())
43
43
  if theme.wordcount && theme.aside.siteinfo.wordcount
44
44
  .webinfo-item
45
45
  .webinfo-item-title
46
- i.item-icon.solitude.st-word-fill
46
+ i.item-icon.solitude.fa-solid.fa-file-word
47
47
  .item-name= __('aside.wordcount')
48
48
  .item-count= totalcount(site)
@@ -1,18 +1,16 @@
1
1
  .bbTimeList.container#bbTimeList(class=is_home_first_page() ? '' : 'more-page')
2
- i.bber-logo.solitude.st-bblogo(onclick=`pjax.loadUrl('/essay/')`)
2
+ i.bber-logo.solitude.fa-solid.fa-newspaper(onclick=`pjax.loadUrl('/essay/')`)
3
3
  .swiper-container.swiper-no-swiping.swiper-container-initialized.swiper-container-vertical.swiper-container-pointer-events#bbtalk(tabindex="-1" onclick=`pjax.loadUrl('/essay/')`)
4
4
  .swiper-wrapper#bber-talk
5
5
  each item, i in site.data.essay.essay_list.slice(0, 10)
6
6
  .li-style.swiper-slide
7
7
  | #{item.content}
8
8
  if item.image
9
- i.solitude.st-image-fill
9
+ i.solitude.fa-solid.fa-image
10
10
  else if item.aplayer
11
- i.solitude.st-disc-fill
12
- else if item.video
13
- i.solitude.st-video-fill
14
- else if item.bilibili
15
- i.solitude.st-bilibili-line
11
+ i.solitude.fa-solid.fa-disc
12
+ else if item.video || item.bilibili
13
+ i.solitude.fa-solid.fa-video
16
14
  else if item.link
17
- i.solitude.st-links
18
- i.bber-gotobb.solitude.st-right-btn-fill(title=_p('home.bbtime.text') onclick=`pjax.loadUrl('/essay/')`)
15
+ i.solitude.fa-solid.fa-link
16
+ i.bber-gotobb.solitude.fa-solid.fa-circle-chevron-right(title=_p('home.bbtime.text') onclick=`pjax.loadUrl('/essay/')`)
@@ -32,7 +32,9 @@ if recommends
32
32
  span.article-meta.tags
33
33
  each tag in item.tags.data
34
34
  a.article-meta__tags(href=url_for(tag.path), onclick="event.stopPropagation();")
35
- span.tags-punctuation=tag.name
35
+ span.tags-punctuation
36
+ i.solitude.fa-solid.fa-hashtag
37
+ =tag.name
36
38
  span.post-meta-date
37
39
  time(datetime=moment(item.date))
38
40
  .blog-slider__pagination.swiper-pagination-clickable.swiper-pagination-bullets
@@ -11,5 +11,5 @@ div.category-bar-right
11
11
  - let wordcount = categories.map(category => category.name).join('').length
12
12
  if wordcount > 40 || categories.data.length > 10
13
13
  .category-bar-next#category-bar-next(onclick="sco.scrollCategoryBarToRight()")
14
- i.solitude.st-show-right-line
14
+ i.solitude.fa-solid.fa-angles-right
15
15
  a.category-bar-more(href=url_for('/categories/'))= __('more')
@@ -32,7 +32,7 @@ script.
32
32
  hotTip.classList.add("hot-tip");
33
33
 
34
34
  const icon = document.createElement("i");
35
- icon.classList.add("solitude", "st-fire-fill");
35
+ icon.classList.add("solitude", "fas", "fa-fire-flame-curved");
36
36
  hotTip.appendChild(icon);
37
37
 
38
38
  const commentCount = document.createTextNode("!{_p('hot-tip')}");
@@ -32,7 +32,7 @@ script.
32
32
  hotTip.classList.add("hot-tip");
33
33
 
34
34
  const icon = document.createElement("i");
35
- icon.classList.add("solitude", "st-fire-fill");
35
+ icon.classList.add("solitude", "fas", "fa-fire-flame-curved");
36
36
  hotTip.appendChild(icon);
37
37
 
38
38
  const commentCount = document.createTextNode("!{_p('hot-tip')}");
@@ -7,7 +7,7 @@ mixin info
7
7
  div.recent-post-info-top-tips
8
8
  if post.sticky && is_home()
9
9
  span.article-meta.sticky-warp
10
- i.solitude.st-thumbtack-solid.sticky.orange
10
+ i.solitude.fa-solid.fa-thumbtack.sticky.orange
11
11
  span.sticky.orange= _p('home.sticky')
12
12
  each category in post.categories.data
13
13
  span.original= category.name
@@ -42,7 +42,9 @@ mixin info
42
42
  span.article-meta.tags
43
43
  each tag in post.tags.data
44
44
  a.article-meta__tags(href=url_for(tag.path), onclick="event.stopPropagation();")
45
- span.tags-punctuation=tag.name
45
+ span.tags-punctuation
46
+ i.solitude.fa-solid.fa-hashtag
47
+ =tag.name
46
48
 
47
49
  span.post-meta-date
48
50
  time(datetime=moment(post.date))
@@ -16,7 +16,7 @@ mixin todayCardContent
16
16
  .todayCard-cover.nolazyload(style=`background: url('${theme.hometop.recommendList.img}') no-repeat center /cover`)
17
17
  .banner-button-group
18
18
  a.banner-button(onclick="window.event.cancelBubble=true;sco.hideTodayCard();")
19
- i.solitude.st-add-fill
19
+ i.solitude.fa-solid.fa-circle-plus
20
20
  span.banner-button-text= _p('home.recommendmore')
21
21
 
22
22
  case theme.hometop.recommendList.url.startsWith('/')
@@ -6,19 +6,23 @@ each item in custom
6
6
  if theme.nav.right.random
7
7
  .nav-button#randomPost_button
8
8
  a.site-page(onclick="toRandomPost()", title=_p('nav.randompost'), href="javascript:void(0);")
9
- i.solitude.st-dice-line
9
+ i.solitude.fa-solid.fa-dice-d6
10
10
  if theme.search.enable
11
11
  .nav-button#search-button
12
12
  a.site-page.social-icon.search(href="javascript:void(0);", title=_p('nav.search'))
13
- i.solitude.st-search-line
13
+ i.solitude.fa-solid.fa-magnifying-glass
14
14
  if theme.console.enable
15
15
  .nav-button#nav-console
16
16
  a.console_switchbutton(onclick="sco.showConsole()", title=_p('nav.console'), href="javascript:void(0);")
17
- i.solitude.st-dashboard-fill
17
+ label
18
+ i.left
19
+ i.center
20
+ i.right
21
+
18
22
  .nav-button#nav-totop(onclick="sco.toTop()")
19
23
  a.totopbtn
20
- i.solitude.st-arrow-up-line
24
+ i.solitude.fa-solid.fa-arrow-up
21
25
  span#percent= "0"
22
26
  #toggle-menu
23
27
  a.site-page
24
- i.solitude.st-menu-line
28
+ i.solitude.fa-solid.fa-bars
@@ -23,7 +23,7 @@ if site.data.about.rewardList
23
23
  .post-reward
24
24
  .post-reward(onclick="AddRewardMask()")
25
25
  .reward-button(title=_p('award.tipping'))
26
- i.solitude.st-hand-heart-fill
26
+ i.solitude.fa-solid.fa-heart
27
27
  = _p('award.tipping')
28
28
  .reward-main
29
29
  ul.reward-all
@@ -33,5 +33,5 @@ if site.data.about.likes
33
33
  if like.button
34
34
  .banner-button-group
35
35
  a.banner-button(href=url_for(like.button_link))
36
- i.solitude.st-right-btn-fill
36
+ i.solitude.fa-solid.fa-circle-chevron-right
37
37
  span.banner-button-text= like.button_text
@@ -19,7 +19,7 @@ if tj || oneself
19
19
  if tj.button
20
20
  .banner-button-group
21
21
  a.banner-button(href=url_for(tj.button_link))
22
- i.solitude.st-right-btn-fill
22
+ i.solitude.fa-solid.fa-circle-chevron-right
23
23
  span.banner-button-text= tj.button_text
24
24
 
25
25
  case tj.provider
@@ -11,5 +11,5 @@
11
11
  .banner-button-group
12
12
  - const isInternalLink = page.rightbtnlink.startsWith('/')
13
13
  a.banner-button(onclick=isInternalLink ? `pjax.loadUrl("${page.rightbtnlink}")`: null, href=isInternalLink ? null : url_for(page.rightbtnlink), target=isInternalLink ? null : "_blank")
14
- i.solitude.st-right-btn-fill
14
+ i.solitude.fa-solid.fa-circle-chevron-right
15
15
  span.banner-button-text= page.rightbtn
@@ -20,4 +20,4 @@
20
20
  else
21
21
  a.equipment-item-content-item-link(href=item.link, target="_blank") 查看文章
22
22
  a.bber-reply(onclick=`sco.toTalk('${item.description}')`)
23
- i.solitude.st-chat-fill(style="font-size: 1rem;")
23
+ i.solitude.fa-solid.fa-comment(style="font-size: 1rem;")