hexo-theme-solitude 1.1.3 → 1.2.1

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 (254) hide show
  1. package/LICENSE +674 -19
  2. package/_config.yml +243 -193
  3. package/languages/en-US.yml +1 -0
  4. package/languages/zh-CN.yml +8 -8
  5. package/layout/404.pug +24 -0
  6. package/layout/archive.pug +11 -0
  7. package/layout/category.pug +16 -0
  8. package/layout/includes/console.pug +42 -0
  9. package/layout/includes/footer.pug +71 -0
  10. package/layout/includes/head/config.pug +79 -0
  11. package/layout/includes/head/pwa.pug +59 -0
  12. package/layout/includes/head.pug +29 -0
  13. package/layout/includes/header.pug +4 -0
  14. package/layout/includes/inject/body.pug +68 -0
  15. package/layout/{partial/compoment/inject/head.ejs → includes/inject/head.pug} +59 -35
  16. package/layout/includes/layout.pug +35 -0
  17. package/layout/{partial/loading.ejs → includes/loading.pug} +19 -17
  18. package/layout/includes/mixins/articleSort.pug +14 -0
  19. package/layout/includes/mixins/pagination.pug +8 -0
  20. package/layout/includes/nav.pug +22 -0
  21. package/layout/includes/page/about.pug +10 -0
  22. package/layout/includes/page/categories.pug +8 -0
  23. package/layout/includes/page/default.pug +2 -0
  24. package/layout/includes/page/echarts.pug +7 -0
  25. package/layout/includes/page/equipment.pug +3 -0
  26. package/layout/includes/page/links.pug +35 -0
  27. package/layout/includes/page/moments.pug +5 -0
  28. package/layout/includes/page/rss.pug +22 -0
  29. package/layout/includes/page/says.pug +20 -0
  30. package/layout/includes/page/tags.pug +8 -0
  31. package/layout/includes/page/tlink.pug +9 -0
  32. package/layout/includes/recent-posts.pug +9 -0
  33. package/layout/includes/sidebar.pug +17 -0
  34. package/layout/includes/widgets/aside/aside.pug +18 -0
  35. package/layout/includes/widgets/aside/asideAllInfo.pug +8 -0
  36. package/layout/includes/widgets/aside/asideArchive.pug +9 -0
  37. package/layout/includes/widgets/aside/asideFlipCard.pug +5 -0
  38. package/layout/includes/widgets/aside/asideHistory.pug +8 -0
  39. package/layout/includes/widgets/aside/asideInfoCard.pug +22 -0
  40. package/layout/includes/widgets/aside/asideNewestPost.pug +16 -0
  41. package/layout/includes/widgets/aside/asidePower.pug +19 -0
  42. package/layout/includes/widgets/aside/asideSwitch.pug +26 -0
  43. package/layout/includes/widgets/aside/asideTag.pug +11 -0
  44. package/layout/includes/widgets/aside/asideToc.pug +5 -0
  45. package/layout/includes/widgets/aside/asideWebInfo.pug +40 -0
  46. package/layout/includes/widgets/aside/asideWelcome.pug +12 -0
  47. package/layout/includes/widgets/home/banner.pug +16 -0
  48. package/layout/includes/widgets/home/bbTimeList.pug +8 -0
  49. package/layout/includes/widgets/home/categoryBar.pug +10 -0
  50. package/layout/includes/widgets/home/categoryGroup.pug +9 -0
  51. package/layout/includes/widgets/home/hometop.pug +9 -0
  52. package/layout/includes/widgets/home/postList.pug +26 -0
  53. package/layout/includes/widgets/home/rencentPost.pug +26 -0
  54. package/layout/includes/widgets/home/topGroup.pug +27 -0
  55. package/layout/includes/widgets/nav/left.pug +10 -0
  56. package/layout/includes/widgets/nav/menu.pug +16 -0
  57. package/layout/includes/widgets/nav/right.pug +23 -0
  58. package/layout/includes/widgets/page/about/authorinfo.pug +12 -0
  59. package/layout/includes/widgets/page/about/award.pug +34 -0
  60. package/layout/includes/widgets/page/about/contentinfo.pug +38 -0
  61. package/layout/includes/widgets/page/about/hobbies.pug +33 -0
  62. package/layout/includes/widgets/page/about/motto.pug +19 -0
  63. package/layout/includes/widgets/page/about/other.pug +61 -0
  64. package/layout/includes/widgets/page/about/personalities.pug +16 -0
  65. package/layout/includes/widgets/page/about/skillsinfo.pug +41 -0
  66. package/layout/includes/widgets/page/banner.pug +14 -0
  67. package/layout/includes/widgets/page/equipment/content.pug +23 -0
  68. package/layout/includes/widgets/page/links/banner.pug +30 -0
  69. package/layout/includes/widgets/page/links/linksCard.pug +18 -0
  70. package/layout/includes/widgets/page/links/linksItem.pug +14 -0
  71. package/layout/includes/widgets/page/moments/angle.pug +24 -0
  72. package/layout/includes/widgets/page/moments/index.pug +18 -0
  73. package/layout/includes/widgets/page/says/saysBottom.pug +11 -0
  74. package/layout/includes/widgets/page/says/saysContent.pug +6 -0
  75. package/layout/includes/widgets/page/says/saysFunction.pug +10 -0
  76. package/layout/includes/widgets/page/says/saysMeta.pug +7 -0
  77. package/layout/includes/widgets/post/award.pug +48 -0
  78. package/layout/includes/widgets/post/copyright.pug +27 -0
  79. package/layout/includes/widgets/post/postMeta.pug +55 -0
  80. package/layout/includes/widgets/post/postNav.pug +25 -0
  81. package/layout/includes/widgets/post/wave.pug +9 -0
  82. package/layout/includes/widgets/randomlink.pug +32 -0
  83. package/layout/includes/widgets/rightside/index.pug +74 -0
  84. package/layout/includes/widgets/third-party/comments/comment.pug +14 -0
  85. package/layout/includes/widgets/third-party/comments/gitalk.pug +0 -0
  86. package/layout/{partial/compoment/third-party/comments/twikoo.ejs → includes/widgets/third-party/comments/twikoo.pug} +8 -9
  87. package/layout/includes/widgets/third-party/comments/valine.pug +0 -0
  88. package/layout/includes/widgets/third-party/music.pug +3 -0
  89. package/layout/includes/widgets/third-party/pjax.pug +30 -0
  90. package/layout/includes/widgets/third-party/search/algolia-search.pug +16 -0
  91. package/layout/includes/widgets/third-party/search/index.pug +7 -0
  92. package/layout/includes/widgets/third-party/search/local-search.pug +15 -0
  93. package/layout/index.pug +20 -0
  94. package/layout/page.pug +32 -0
  95. package/layout/post.pug +43 -0
  96. package/layout/tag.pug +19 -0
  97. package/package.json +4 -4
  98. package/scripts/event/page.js +20 -2
  99. package/scripts/filter/checkThemeConfig.js +0 -1
  100. package/scripts/filter/randomPosts.js +0 -1
  101. package/scripts/helper/{charts.js → echarts.js} +27 -28
  102. package/scripts/helper/stylus.js +23 -0
  103. package/scripts/tags/bvideo.js +1 -36
  104. package/source/css/_comment/index.styl +121 -0
  105. package/source/css/_comment/twikoo.styl +515 -0
  106. package/source/css/_extra/console.styl +354 -0
  107. package/source/css/_extra/rightmenu.styl +83 -0
  108. package/source/css/_global/animation.css +756 -0
  109. package/source/css/_global/function.styl +83 -0
  110. package/source/css/_global/index.styl +120 -0
  111. package/source/css/_global/var.styl +1 -0
  112. package/source/css/_layout/articleSort.styl +199 -0
  113. package/source/css/_layout/base.styl +392 -0
  114. package/source/css/_layout/footer.styl +359 -0
  115. package/source/css/_layout/header.styl +1331 -0
  116. package/source/css/_layout/index.styl +293 -0
  117. package/source/css/_layout/sidebar.styl +226 -0
  118. package/source/css/_mode/index.styl +52 -0
  119. package/source/css/_page/about.styl +944 -0
  120. package/source/css/_page/category.styl +141 -0
  121. package/source/css/_page/equipment.styl +108 -0
  122. package/source/css/_page/error.styl +161 -0
  123. package/source/css/_page/home.styl +58 -0
  124. package/source/css/_page/homeTop.styl +1035 -0
  125. package/source/css/_page/index.styl +22 -0
  126. package/source/css/_page/link.styl +433 -0
  127. package/source/css/_page/moment.styl +186 -0
  128. package/source/css/_page/rss.styl +87 -0
  129. package/source/css/_page/says.styl +353 -0
  130. package/source/css/_page/tag.styl +56 -0
  131. package/source/css/_post/commentBarrage.styl +149 -0
  132. package/source/css/_post/externalTags.styl +694 -0
  133. package/source/css/_post/highlight.styl +96 -0
  134. package/source/css/_post/index.styl +935 -0
  135. package/source/css/_post/pagination.styl +467 -0
  136. package/source/css/_post/postContent.styl +957 -0
  137. package/source/css/_post/relatedPost.styl +160 -0
  138. package/source/css/_post/reward.styl +217 -0
  139. package/source/css/_search/algolia-search.styl +206 -0
  140. package/source/css/_search/local-search.styl +112 -0
  141. package/source/css/_widgets/aside/allinfo.styl +134 -0
  142. package/source/css/_widgets/aside/flip.styl +68 -0
  143. package/source/css/_widgets/aside/history.styl +35 -0
  144. package/source/css/_widgets/aside/index.styl +156 -0
  145. package/source/css/_widgets/aside/info.styl +263 -0
  146. package/source/css/_widgets/aside/newPost.styl +55 -0
  147. package/source/css/_widgets/aside/power.styl +90 -0
  148. package/source/css/_widgets/aside/toc.styl +85 -0
  149. package/source/css/_widgets/aside/welcome.styl +14 -0
  150. package/source/css/_widgets/index.styl +3 -0
  151. package/source/css/index.styl +40 -0
  152. package/source/js/commentBarrage.js +8 -5
  153. package/source/js/extend/console/comment.js +60 -63
  154. package/source/js/extend/covercolor/local.js +1 -1
  155. package/source/js/extend/search/algolia-search.js +104 -111
  156. package/source/js/extend/search/local-search.js +7 -7
  157. package/source/js/main.js +655 -505
  158. package/source/js/utils.js +131 -137
  159. package/layout/404.ejs +0 -34
  160. package/layout/archive.ejs +0 -10
  161. package/layout/category.ejs +0 -18
  162. package/layout/index.ejs +0 -20
  163. package/layout/layout.ejs +0 -30
  164. package/layout/page/about.ejs +0 -15
  165. package/layout/page/categories.ejs +0 -12
  166. package/layout/page/circle.ejs +0 -5
  167. package/layout/page/echarts.ejs +0 -1
  168. package/layout/page/equipment.ejs +0 -2
  169. package/layout/page/links.ejs +0 -46
  170. package/layout/page/page.ejs +0 -3
  171. package/layout/page/rss.ejs +0 -39
  172. package/layout/page/says.ejs +0 -17
  173. package/layout/page/tags.ejs +0 -12
  174. package/layout/page/tlink.ejs +0 -11
  175. package/layout/page.ejs +0 -45
  176. package/layout/partial/body.ejs +0 -7
  177. package/layout/partial/compoment/about/authorinfo.ejs +0 -18
  178. package/layout/partial/compoment/about/award.ejs +0 -59
  179. package/layout/partial/compoment/about/contentinfo.ejs +0 -33
  180. package/layout/partial/compoment/about/hobbies.ejs +0 -53
  181. package/layout/partial/compoment/about/motto.ejs +0 -17
  182. package/layout/partial/compoment/about/other.ejs +0 -76
  183. package/layout/partial/compoment/about/personalities.ejs +0 -11
  184. package/layout/partial/compoment/about/skillsinfo.ejs +0 -62
  185. package/layout/partial/compoment/aside/aside.ejs +0 -28
  186. package/layout/partial/compoment/aside/asideAllInfo.ejs +0 -6
  187. package/layout/partial/compoment/aside/asideArchive.ejs +0 -11
  188. package/layout/partial/compoment/aside/asideFlipCard.ejs +0 -72
  189. package/layout/partial/compoment/aside/asideHistory.ejs +0 -49
  190. package/layout/partial/compoment/aside/asideInfoCard.ejs +0 -39
  191. package/layout/partial/compoment/aside/asideNewestPost.ejs +0 -31
  192. package/layout/partial/compoment/aside/asidePower.ejs +0 -31
  193. package/layout/partial/compoment/aside/asideSwitch.ejs +0 -41
  194. package/layout/partial/compoment/aside/asideTag.ejs +0 -5
  195. package/layout/partial/compoment/aside/asideToc.ejs +0 -11
  196. package/layout/partial/compoment/aside/asideWebInfo.ejs +0 -60
  197. package/layout/partial/compoment/aside/asideWelcome.ejs +0 -33
  198. package/layout/partial/compoment/circle/angle.ejs +0 -26
  199. package/layout/partial/compoment/circle/banner.ejs +0 -11
  200. package/layout/partial/compoment/circle/content.ejs +0 -19
  201. package/layout/partial/compoment/dorakika/rightmenu.ejs +0 -100
  202. package/layout/partial/compoment/equipment/list.ejs +0 -37
  203. package/layout/partial/compoment/home/homeCategoryBar.ejs +0 -11
  204. package/layout/partial/compoment/home/postList.ejs +0 -37
  205. package/layout/partial/compoment/hometop/bbTimeList.ejs +0 -15
  206. package/layout/partial/compoment/hometop/categoryGroup.ejs +0 -19
  207. package/layout/partial/compoment/hometop/groupTag.ejs +0 -30
  208. package/layout/partial/compoment/hometop/topGroup.ejs +0 -41
  209. package/layout/partial/compoment/inject/body.ejs +0 -70
  210. package/layout/partial/compoment/links/angle.ejs +0 -26
  211. package/layout/partial/compoment/links/banner.ejs +0 -42
  212. package/layout/partial/compoment/links/linksCard.ejs +0 -27
  213. package/layout/partial/compoment/links/linksItem.ejs +0 -21
  214. package/layout/partial/compoment/mixins/articleSort.ejs +0 -26
  215. package/layout/partial/compoment/mixins/pagination.ejs +0 -11
  216. package/layout/partial/compoment/nav/left.ejs +0 -22
  217. package/layout/partial/compoment/nav/menu.ejs +0 -25
  218. package/layout/partial/compoment/nav/right.ejs +0 -42
  219. package/layout/partial/compoment/post/award.ejs +0 -60
  220. package/layout/partial/compoment/post/copyright.ejs +0 -39
  221. package/layout/partial/compoment/post/postMeta.ejs +0 -85
  222. package/layout/partial/compoment/post/postNav.ejs +0 -41
  223. package/layout/partial/compoment/post/wave.ejs +0 -14
  224. package/layout/partial/compoment/says/banner.ejs +0 -10
  225. package/layout/partial/compoment/says/saysBottom.ejs +0 -18
  226. package/layout/partial/compoment/says/saysContent.ejs +0 -10
  227. package/layout/partial/compoment/says/saysFunction.ejs +0 -15
  228. package/layout/partial/compoment/third-party/comments/comment.ejs +0 -12
  229. package/layout/partial/compoment/third-party/comments/twikoo_k.ejs +0 -29
  230. package/layout/partial/compoment/third-party/music.ejs +0 -5
  231. package/layout/partial/compoment/third-party/pjax.ejs +0 -31
  232. package/layout/partial/compoment/third-party/search/algolia-search.ejs +0 -20
  233. package/layout/partial/compoment/third-party/search/index.ejs +0 -10
  234. package/layout/partial/compoment/third-party/search/local-search.ejs +0 -22
  235. package/layout/partial/compoment/tlink/banner.ejs +0 -10
  236. package/layout/partial/console.ejs +0 -68
  237. package/layout/partial/footer.ejs +0 -109
  238. package/layout/partial/head.ejs +0 -37
  239. package/layout/partial/header.ejs +0 -6
  240. package/layout/partial/hometop.ejs +0 -15
  241. package/layout/partial/nav.ejs +0 -34
  242. package/layout/partial/pwa.ejs +0 -40
  243. package/layout/partial/sidebar.ejs +0 -31
  244. package/layout/post.ejs +0 -52
  245. package/layout/tag.ejs +0 -19
  246. package/scripts/helper/randomLinks.js +0 -16
  247. package/scripts/helper/themeJsExport.js +0 -79
  248. package/source/css/commentBarrage.css +0 -174
  249. package/source/css/custom.css +0 -901
  250. package/source/css/main.css +0 -16285
  251. package/source/css/search/algolia-search.css +0 -141
  252. package/source/css/search/local-search.css +0 -138
  253. package/source/css/var.css +0 -189
  254. /package/source/js/{rightmenu.js → rightside.js} +0 -0
@@ -1,41 +0,0 @@
1
- <% switch (item) {
2
- case 'power': %>
3
- <%- partial('partial/compoment/aside/asidePower', {cache: true}) %>
4
- <% break;
5
- case 'about': %>
6
- <%- partial('partial/compoment/aside/asideInfoCard', {cache: true}) %>
7
- <% break;
8
- case 'flip': %>
9
- <%- partial('partial/compoment/aside/asideFlipCard', {cache: true}) %>
10
- <% break;
11
- case 'welcome': %>
12
- <%- partial('partial/compoment/aside/asideWelcome', {cache: true}) %>
13
- <% break;
14
- case 'history': %>
15
- <%- partial('partial/compoment/aside/asideHistory', {cache: true}) %>
16
- <% break;
17
- case 'newestPost': %>
18
- <%- partial('partial/compoment/aside/asideNewestPost', {cache: true}) %>
19
- <% break;
20
- case 'tag': %>
21
- <div class="card-widget card-tags">
22
- <%- partial('partial/compoment/aside/asideTag', {cache: true}) %>
23
- </div>
24
- <% break;
25
- case 'archive': %>
26
- <div class="card-widget card-archives">
27
- <%- partial('partial/compoment/aside/asideArchive', {cache: true}) %>
28
- </div>
29
- <% break;
30
- case 'webInfo': %>
31
- <div class="card-widget card-webinfo">
32
- <%- partial('partial/compoment/aside/asideWebInfo', {cache: true}) %>
33
- </div>
34
- <% break;
35
- case 'allInfo': %>
36
- <%- partial('partial/compoment/aside/asideAllInfo', {cache: true}) %>
37
- <% break;
38
- default: %>
39
- <%- partial('page/page') %>
40
- <% break;
41
- } %>
@@ -1,5 +0,0 @@
1
- <div class="card-tag-cloud">
2
- <% site.tags.data.slice(0, 50).forEach((data, index) => { %>
3
- <a href="<%= url_for(data.path) %>" style="font-size: 0.8rem; color: #d3d3d3"><%= data.name %><sup><%= data.length %></sup></a>
4
- <% }) %>
5
- </div>
@@ -1,11 +0,0 @@
1
- <div class="card-widget" id="card-toc">
2
- <div class="item-headline">
3
- <i class="scoicon sco-menu-line"></i>
4
- <span>文章目录</span>
5
- </div>
6
- <div class="toc-content" id="toc-content">
7
- <%- toc(page.content, {
8
- list_number: false,
9
- }) %>
10
- </div>
11
- </div>
@@ -1,60 +0,0 @@
1
- <div class="webinfo">
2
- <% if(theme.aside.siteinfo.postcount){ %>
3
- <div class="webinfo-item">
4
- <div class="webinfo-item-title">
5
- <i class="item-icon scoicon sco-folder-fill"></i>
6
- <div class="item-name">文章总数 :</div>
7
- </div>
8
- <div class="item-count"><%= site.posts.length %></div>
9
- </div>
10
- <% } %>
11
- <% if(theme.thirdparty.busuanzi){ %>
12
- <% if(theme.aside.siteinfo.pv){ %>
13
- <div class="webinfo-item">
14
- <div class="webinfo-item-title">
15
- <i class="item-icon scoicon sco-visitor-line"></i>
16
- <div class="item-name">总访问数 :</div>
17
- </div>
18
- <span id="busuanzi_value_site_pv"><i class="scoicon sco-loading-line"></i></span>
19
- </div>
20
- <% } %>
21
- <% if(theme.aside.siteinfo.uv){ %>
22
- <div class="webinfo-item">
23
- <div class="webinfo-item-title">
24
- <i class="item-icon scoicon sco-team-fill"></i>
25
- <div class="item-name">总访客数 :</div>
26
- </div>
27
- <span id="busuanzi_value_site_uv"><i class="scoicon sco-loading-line"></i></span>
28
- </div>
29
- <% } %>
30
- <% } %>
31
- <% if(theme.aside.siteinfo.runtimeenable){ %>
32
- <div class="webinfo-item">
33
- <div class="webinfo-item-title">
34
- <i class="item-icon scoicon sco-calendar-todo-fill"></i>
35
- <div class="item-name">建站天数 :</div>
36
- </div>
37
- <div class="item-count" id="runtimeshow">
38
- </div>
39
- </div>
40
- <% } %>
41
- <% if(theme.aside.siteinfo.updatetime){ %>
42
- <div class="webinfo-item">
43
- <div class="webinfo-item-title">
44
- <i class="item-icon scoicon sco-loop-left-fill"></i>
45
- <div class="item-name">最后更新 :</div>
46
- </div>
47
- <time class="item-count" datetime="<%= new Date() %>">
48
- </time>
49
- </div>
50
- <% } %>
51
- <% if(theme.thirdparty.wordcount && theme.aside.siteinfo.wordcount){ %>
52
- <div class="webinfo-item">
53
- <div class="webinfo-item-title">
54
- <i class="item-icon scoicon sco-word-fill"></i>
55
- <div class="item-name">全站字数 :</div>
56
- </div>
57
- <div class="item-count"><%= totalcount(site) %></div>
58
- </div>
59
- <% } %>
60
- </div>
@@ -1,33 +0,0 @@
1
- <% if(theme.aside.welcome.enable){ %>
2
- <style>
3
- #welcome-info {
4
- overflow: hidden;
5
- margin-top: 4px
6
- }
7
-
8
- #welcome-info .welcome-time {
9
- width: 100%;
10
- margin: 12px 0 0;
11
- display: inline-flex
12
- }
13
-
14
- #welcome-info .welcome-message {
15
- width: 100%;
16
- margin-bottom: 8px;
17
- display: inline-flex
18
- }
19
- </style>
20
- <div class="card-widget card-welcome">
21
- <div class="item-headline">
22
- <i class="<%- theme.aside.welcome.icon || 'scoicon sco-map-pin-fill' %>"></i>
23
- <span><%- theme.aside.welcome.title || '来访者' %></span>
24
- </div>
25
- <div id="welcome-info"></div>
26
- </div>
27
- <script data-pjax>
28
- var longitude = '<%= theme.aside.welcome.longitude %>'
29
- var Latitude = '<%= theme.aside.welcome.Latitude %>'
30
- var txkey = '<%= theme.aside.welcome.key %>'
31
- var ipLoacation;
32
- </script>
33
- <% } %>
@@ -1,26 +0,0 @@
1
- <div class="title-h2-a">
2
- <div class="title-h2-a-left">
3
- <h2 style="padding-top: 0;margin:0.6rem 0 0.6rem;">🎣 钓鱼</h2>
4
- <a id="random-post-start" href="javascript:fetchRandomPost();" rel="external nofollow"
5
- style="transition-duration: 0.3s; transform: rotate(63000deg); opacity: 1;" data-pjax-state="">
6
- <i class="scoicon sco-refresh-line"></i>
7
- </a>
8
- </div>
9
- <div class="title-h2-a-right"><a class="random-post-all" href="/links/" data-pjax-state="">全部友链</a></div>
10
- </div>
11
- <div id="random-post"></div>
12
-
13
- <div class="title-h2-a">
14
- <div class="title-h2-a-left">
15
- <h2 style="padding-top: 0;margin:0.6rem 0 0.6rem;">🐟 鱼塘</h2>
16
- </div>
17
- <div class="title-h2-a-right"><span>以下内容自动生成,未经过审核</span></div>
18
- </div>
19
- <script>
20
- var fdata = {
21
- apiurl: "<%= theme.thirdparty.circle.api %>",
22
- defaultFish: 100,
23
- hungryFish: 100,
24
- }
25
- </script>
26
- <script type="text/javascript" src="/lib/friends_post.js"></script>
@@ -1,11 +0,0 @@
1
- <div class="author-content author-content-item essayPage single nolazyload"
2
- style="background: url(<%= page.cover %>) no-repeat center;background-size: cover;">
3
- <div class="card-content">
4
- <div class="author-content-item-tips"><%= page.title %></div>
5
- <span class="author-content-item-title"><%= page.desc %></span>
6
- <div class="content-bottom">
7
- <div class="tips">使用 友链朋友圈 订阅友链最新文章</div>
8
- <div class="tips"></div>
9
- </div>
10
- </div>
11
- </div>
@@ -1,19 +0,0 @@
1
- <div id="hexo-circle-of-friends-root"></div>
2
- <script>
3
- let UserConfig = {
4
- // 填写你的api地址
5
- private_api_url: '<%= theme.thirdparty.circle.api %>',
6
- // 默认加载文章数
7
- page_init_number: <%= theme.thirdparty.circle.page_init_number%>,
8
- // 点击加载更多时,一次最多加载几篇文章,默认10
9
- page_turning_number: <%= theme.thirdparty.circle.page_turning_number %>,
10
- // 头像加载失败时,默认头像地址
11
- error_img: '<%= theme.thirdparty.circle.error_img %>',
12
- // 进入页面时第一次的排序规则
13
- sort_rule: '<%= theme.thirdparty.circle.sort_rule %>',
14
- // 本地文章缓存数据过期时间(天)
15
- expire_days: <%= theme.thirdparty.circle.expire_days %>,
16
- }
17
- </script>
18
- <%- js(theme.thirdparty.circle.appjs) %>
19
- <%- js(theme.thirdparty.circle.bundlejs) %>
@@ -1,100 +0,0 @@
1
- <div id="rightMenu">
2
- <div class="rightMenu-group rightMenu-small">
3
- <div class="rightMenu-item" id="menu-backward">
4
- <i class="scoicon sco-arrow-left-line"></i>
5
- </div>
6
- <div class="rightMenu-item" id="menu-forward">
7
- <i class="scoicon sco-arrow-right-line"></i>
8
- </div>
9
- <div class="rightMenu-item" id="menu-refresh">
10
- <i class="scoicon sco-restart-line" style="font-size: 19px;"></i>
11
- </div>
12
- <div class="rightMenu-item" id="menu-top">
13
- <i class="scoicon sco-arrow-up-line"></i>
14
- </div>
15
- </div>
16
- <div class="rightMenu-group rightMenu-line rightMenuPlugin">
17
- <div class="rightMenu-item" id="menu-copytext">
18
- <i class="scoicon sco-copy-fill"></i>
19
- <span>复制选中文本</span>
20
- </div>
21
- <div class="rightMenu-item" id="menu-pastetext">
22
- <i class="scoicon sco-clipboard-fill"></i>
23
- <span>粘贴文本</span>
24
- </div>
25
- <a class="rightMenu-item" id="menu-commenttext" data-pjax-state="">
26
- <i class="scoicon sco-chat-new-fill"></i>
27
- <span>引用到评论</span>
28
- </a>
29
- <div class="rightMenu-item" id="menu-newwindow">
30
- <i class="scoicon sco-window-fill"></i>
31
- <span>新窗口打开</span>
32
- </div>
33
- <div class="rightMenu-item" id="menu-copylink">
34
- <i class="scoicon sco-link-line"></i>
35
- <span>复制链接地址</span>
36
- </div>
37
- <div class="rightMenu-item" id="menu-copyimg">
38
- <i class="scoicon sco-copy-fill"></i>
39
- <span>复制此图片</span>
40
- </div>
41
- <div class="rightMenu-item" id="menu-downloadimg">
42
- <i class="scoicon sco-download-cloud-fill"></i>
43
- <span>下载此图片</span>
44
- </div>
45
- <div class="rightMenu-item" id="menu-search">
46
- <i class="scoicon sco-search-line"></i>
47
- <span>站内搜索</span>
48
- </div>
49
- <div class="rightMenu-item" id="menu-searchBaidu">
50
- <i class="scoicon sco-baidu-fill"></i>
51
- <span>百度搜索</span>
52
- </div>
53
- <div class="rightMenu-item" id="menu-music-toggle">
54
- <i class="scoicon sco-play-fill"></i>
55
- <span>播放音乐</span>
56
- </div>
57
- <div class="rightMenu-item" id="menu-music-back">
58
- <i class="scoicon sco-skip-back-fill"></i>
59
- <span>切换到上一首</span>
60
- </div>
61
- <div class="rightMenu-item" id="menu-music-forward">
62
- <i class="scoicon sco-skip-forward-fill"></i>
63
- <span>切换到下一首</span>
64
- </div>
65
- <div class="rightMenu-item" id="menu-music-playlist"
66
- onclick="window.open('<%- theme.thirdparty.aplayer.server == 'tencent' ? `https://y.qq.com/n/ryqq/playlist/${theme.thirdparty.aplayer.id}` : `https://music.163.com/#/playlist?id=${theme.thirdparty.aplayer.id}` %>', '_blank');">
67
- <i class="scoicon sco-play-list-2-line"></i>
68
- <span>查看所有歌曲</span></div>
69
- <div class="rightMenu-item" id="menu-music-copyMusicName">
70
- <i class="scoicon sco-copy-fill"></i>
71
- <span>复制歌名</span>
72
- </div>
73
- </div>
74
- <div class="rightMenu-group rightMenu-line rightMenuOther">
75
- <a class="rightMenu-item menu-Link" id="menu-randomPost" data-pjax-state="">
76
- <i class="scoicon sco-signal-tower-fill"></i>
77
- <span>随便逛逛</span></a>
78
- <a class="rightMenu-item menu-link" href="/categories/" data-pjax-state="">
79
- <i class="scoicon sco-checkbox-multiple-blank-fill"></i>
80
- <span>博客分类</span></a>
81
- <a class="rightMenu-item menu-link" href="/tags/" data-pjax-state="">
82
- <i class="scoicon sco-price-tag-fill"></i>
83
- <span>文章标签</span></a>
84
- </div>
85
- <div class="rightMenu-group rightMenu-line rightMenuOther">
86
- <div class="rightMenu-item" id="menu-copy">
87
- <i class="scoicon sco-external-link-fill"></i>
88
- <span>复制地址</span>
89
- </div>
90
- <div class="rightMenu-item" id="menu-commentBarrage">
91
- <i class="scoicon sco-chat-fill"></i>
92
- <span class="menu-commentBarrage-text">关闭热评</span>
93
- </div>
94
- <div class="rightMenu-item" id="menu-darkmode">
95
- <i class="scoicon sco-moon-clear-fill"></i>
96
- <span class="menu-darkmode-text">浅色模式</span>
97
- </div>
98
- </div>
99
- </div>
100
- <div id="rightmenu-mask"></div>
@@ -1,37 +0,0 @@
1
- <div id="equipment">
2
- <% if (site.data.equipment) { %>
3
- <% site.data.equipment.forEach(function(i) { %>
4
- <div class="equipment-item">
5
- <h2 class="equipment-item-title"><%= i.class_name %></h2>
6
- <div class="equipment-item-description"><%= i.description %></div>
7
- <div class="equipment-item-content">
8
- <% i.equipment_list.forEach(function(item) { %>
9
- <div class="equipment-item-content-item">
10
- <div class="equipment-item-content-item-cover">
11
- <img class="equipment-item-content-item-image" src="<%= item.image %>" alt="<%= item.name %>">
12
- </div>
13
- <div class="equipment-item-content-item-info">
14
- <div class="equipment-item-content-item-name"><%= item.name %></div>
15
- <div class="equipment-item-content-item-specification"><%= item.specification %></div>
16
- <div class="equipment-item-content-item-description"><%= item.description %></div>
17
- <% if (item.link) { %>
18
- <div class="equipment-item-content-item-toolbar">
19
- <% if (item.link.includes('https://') || item.link.includes('http://')) { %>
20
- <a class="equipment-item-content-item-link" href="<%= item.link %>" target="_blank">详情</a>
21
- <% } else { %>
22
- <a class="equipment-item-content-item-link" href="<%= item.link %>" target="_blank">查看文章</a>
23
- <% } %>
24
- <a class="bber-reply" onclick="sco.toTalk('<%- item.description %>')" >
25
- <i class="fa-solid fa-comment" style="font-size: 1rem;">
26
- </i>
27
- </a>
28
- </div>
29
- <% } %>
30
- </div>
31
- </div>
32
- <% }) %>
33
- </div>
34
- </div>
35
- <% }) %>
36
- <% } %>
37
- </div>
@@ -1,11 +0,0 @@
1
- <div class="category-bar-items" id="category-bar-items">
2
- <div class="category-bar-item <%= is_home() ? 'select' : '' %>" id="category-bar-home">
3
- <a href="/">首页</a>
4
- </div>
5
- <% for(const item of site.categories.data){ %>
6
- <div class="category-bar-item <%= select ? (select === item.name ? 'select' : '') : '' %>">
7
- <a href="<%= url_for(item.path) %>"><%= item.name %></a>
8
- </div>
9
- <% } %>
10
- </div>
11
- <a class="category-bar-more" href="/categories/">更多</a>
@@ -1,37 +0,0 @@
1
- <div class="recent-post-item" onclick="pjax.loadUrl('/<%= post.path %>')">
2
- <div class="post_cover left_radius">
3
- <a href="<%= url_for(post.path) %>" title="<%= post.title %>">
4
- <img class="post_bg" alt="<%= post.title %>" src="<%= post.cover %>">
5
- </a>
6
- </div>
7
- <div class="recent-post-info">
8
- <div class="recent-post-info-top">
9
- <div class="recent-post-info-top-tips">
10
- <% post.categories.data.forEach(categories => { %>
11
- <span class="original"><%= categories.name %></span>
12
- <% }) %>
13
- <% if(post.prev == null){ %>
14
- <span class="original">最新</span>
15
- <% }%>
16
- <a class="unvisited-post" href="<%= url_for(post.path) %>" title="<%= post.title %>" data-pjax-state>未读</a>
17
- </div>
18
- <a class="article-title" href="<%= url_for(post.path) %>" title="<%= post.title %>">
19
- <%= post.title %>
20
- </a>
21
- </div>
22
- <div class="article-meta-wrap">
23
- <span class="article-meta tags">
24
- <% post.tags.data.forEach(tags => { %>
25
- <a class="article-meta__tags" href="<%= url_for(tags.path) %>"
26
- onclick="window.event.cancelBubble=true;">
27
- <span class="tags-punctuation"></span>
28
- <%= tags.name %>
29
- </a>
30
- <% }) %>
31
- </span>
32
- <span class="post-meta-date">
33
- <time datetime="<%= moment(post.date).format() %>"></time>
34
- </span>
35
- </div>
36
- </div>
37
- </div>
@@ -1,15 +0,0 @@
1
- <div class="bbTimeList container" id="bbTimeList">
2
- <i class="bber-logo scoicon sco-says" onclick="pjax.loadUrl('/essay/')" style="font-size: 1rem;"></i>
3
- <div class="swiper-container swiper-no-swiping swiper-container-initialized swiper-container-vertical swiper-container-pointer-events"
4
- id="bbtalk" tabindex="-1" onclick="pjax.loadUrl('/essay/')">
5
- <div class="swiper-wrapper" id="bber-talk">
6
- <% for(i in site.data.essay.essay_list){ %>
7
- <% const item = site.data.essay.essay_list[i];if(i >= 10)break; %>
8
- <div class="li-style swiper-slide">
9
- <%= item.image ? item.content + '【图片】' : item.content %>
10
- </div>
11
- <% } %>
12
- </div>
13
- </div>
14
- <i class="bber-gotobb scoicon sco-right-btn-fill" style="font-size: 1rem" title="查看全文" onclick="pjax.loadUrl('/essay/')"></i>
15
- </div>
@@ -1,19 +0,0 @@
1
- <div class="categoryItem" style="box-shadow: var(--sco-shadow-blue);"><a class="categoryButton CB1 bikan"
2
- href="<%- url_for(theme.hometop.categoryGroup.G1.url) %>">
3
- <span class="categoryButtonText"><%= theme.hometop.categoryGroup.G1.name %></span>
4
- <i class="<%- theme.hometop.categoryGroup.G1.icon %>"></i>
5
- </a>
6
- </div>
7
- <div class="categoryItem" style="box-shadow: var(--sco-shadow-red);">
8
- <a class="categoryButton remen" href="<%- url_for(theme.hometop.categoryGroup.G2.url) %>">
9
- <span class="categoryButtonText"><%= theme.hometop.categoryGroup.G2.name %></span>
10
- <i class="<%- theme.hometop.categoryGroup.G2.icon %>"></i>
11
- </a>
12
- </div>
13
- <div class="categoryItem" style="box-shadow: var(--sco-shadow-green);">
14
- <a class="categoryButton shiyong"
15
- href="<%- url_for(theme.hometop.categoryGroup.G3.url) %>">
16
- <span class="categoryButtonText"><%= theme.hometop.categoryGroup.G3.name %></span>
17
- <i class="<%- theme.hometop.categoryGroup.G3.icon %>"></i>
18
- </a>
19
- </div>
@@ -1,30 +0,0 @@
1
- <div class="banners-title">
2
- <div class="banners-title-big">
3
- <%- theme.hometop.banner.title %>
4
- </div>
5
- <div class="banners-title-small">
6
- <%= theme.hometop.banner.url %>
7
- </div>
8
- </div>
9
- <div class="tags-group-all">
10
- <div class="tags-group-wrapper">
11
- <% for(let i = 1; i <= 2; i++){ %>
12
- <% for(let j = 0; j < Object.keys(theme.hometop.banner.icon).length; j++){ %>
13
- <% const key = Object.keys(theme.hometop.banner.icon)[j] %>
14
- <% if(j % 2 == 0){ %>
15
- <div class="tags-group-icon-pair">
16
- <% } %>
17
- <div class="tags-group-icon" style="background: <%- theme.hometop.banner.icon[key].color %>">
18
- <img src="<%= theme.hometop.banner.icon[key].img %>" title="<%= key %>">
19
- </div>
20
- <% if(j % 2 == 1 || j == Object.keys(theme.hometop.banner.icon).length - 1){ %>
21
- </div>
22
- <% } %>
23
- <% } %>
24
- <% } %>
25
- </div>
26
- </div>
27
- <a id="banner-hover" onclick="toRandomPost()" data-pjax-state="">
28
- <span class="bannerText">随便逛逛</span>
29
- <i class="scoicon sco-arrow-2-right-line banner-righticon"></i>
30
- </a>
@@ -1,41 +0,0 @@
1
- <% for (const post of site.posts.data.filter(item => item.recommend === true).slice(0,6)){ %>
2
- <div class="recent-post-item">
3
- <div class="post_cover left_radius">
4
- <a href="<%= url_for(post.path) %>"
5
- title="<%= post.title %>">
6
- <span class="recent-post-top-text">荐</span>
7
- <img class="post_bg"
8
- alt="<%= post.title %>" src="<%= post.cover %>" loading="lazy">
9
- </a>
10
- </div>
11
- <div class="recent-post-info">
12
- <a class="article-title" href="<%= url_for(post.path) %>"
13
- title="<%= post.title %>"><%= post.title %>
14
- </a>
15
- </div>
16
- </div>
17
- <% } %>
18
- <% if (theme.hometop.recommendList.url.startsWith('/') && theme.hometop.recommendList.url.endsWith('/')) { %>
19
- <div class="todayCard" id="todayCard" onclick="pjax.loadUrl('<%= theme.hometop.recommendList.url %>')" style="z-index: 1;">
20
- <% } else { %>
21
- <script>
22
- function GoTodayCard() {
23
- window.open("<%= theme.hometop.recommendList.url %>", "_blank");
24
- }
25
- </script>
26
- <div class="todayCard" id="todayCard" onclick="GoTodayCard()" style="z-index: 1;">
27
- <% } %>
28
- <div class="todayCard-info">
29
- <div class="todayCard-tips"><%= theme.hometop.recommendList.sup %></div>
30
- <div class="todayCard-title"><%= theme.hometop.recommendList.title %></div>
31
- </div>
32
- <div class="todayCard-cover nolazyload"
33
- style="background: url('<%- theme.hometop.recommendList.img %>') no-repeat center /cover">
34
- </div>
35
- <div class="banner-button-group"><a class="banner-button"
36
- onclick="window.event.cancelBubble=true;sco.hideTodayCard();">
37
- <i class="scoicon sco-add-fill"></i>
38
- <span class="banner-button-text">更多推荐</span>
39
- </a>
40
- </div>
41
- </div>
@@ -1,70 +0,0 @@
1
- <% const cdn = theme.cdn.body %>
2
- <%- js(cdn.pjaxjs) %>
3
- <% if(theme.lazyload.enable){ %>
4
- <%- js(cdn.lazyloadjs) %>
5
- <% } %>
6
- <%- js(cdn.snackbarjs) %>
7
- <% if(theme.lightbox){ %>
8
- <%- js(cdn.viewimagejs) %>
9
- <% } %>
10
- <% if(theme.hometop.bbtime || theme.aside.history.enable){ %>
11
- <%- js(cdn.swiperjs) %>
12
- <% } %>
13
- <%- js('/js/utils') %>
14
- <div id="js-pjax">
15
- <%- partial('partial/compoment/dorakika/rightmenu', {cache: true}) %>
16
- <% if(page.type === 'says' || page.type === 'album' || page.type === 'album_detail' ){ %>
17
- <%- js(cdn.waterfalljs) %>
18
- <script>
19
- window.addEventListener('resize', utils.throttle(function () {
20
- if (document.getElementById('waterfall')) {
21
- sco.reflashEssayWaterFall();
22
- }
23
- }), 500);
24
- </script>
25
- <% } %>
26
- <% if(theme.thirdparty.busuanzi && (theme.aside.siteinfo.uv || theme.aside.siteinfo.pv || theme.thirdparty.busuanzi.usecomment === false)){ %>
27
- <script async
28
- src="<%= cdn.busuanzijs %>"></script>
29
- <% } %>
30
- </div>
31
- <%- js('/js/main') %>
32
- <% if(theme.thirdparty.aplayer.enable){ %>
33
- <%- js(cdn.aplayerjs) %>
34
- <%- js(cdn.metingjs) %>
35
- <script>
36
- var meting_api = "<%- theme.thirdparty.aplayer.api %>";
37
- </script>
38
- <% } %>
39
- <% if(theme.post.covercolor){ %>
40
- <%- js('/js/extend/covercolor/local') %>
41
- <% } %>
42
-
43
- <% if(theme.footer.randomlink){ %>
44
- <%- randomLinks() %>
45
- <% } %>
46
-
47
- <% if(theme.comment.enable){
48
- %>
49
- <%- js('/js/extend/console/comment')
50
- %>
51
- <% } %>
52
- <%- js('/js/rightmenu') %>
53
-
54
- <% if(theme.comment.enable){ %>
55
- <script data-pjax src="/js/commentBarrage.js"></script>
56
- <% } %>
57
-
58
- <% if (page.katex){ %>
59
- <%- css(cdn.katexcss) %>
60
- <%- js(cdn.katexjs) %>
61
- <% } %>
62
-
63
- <% if (page.katex){ %>
64
- <% css(cdn.katexcss) %>
65
- <% js(cdn.katexjs) %>
66
- <% } %>
67
-
68
- <% if(theme.aside.welcome.enable){ %>
69
- <%- js('/js/txmap.js') %>
70
- <% } %>
@@ -1,26 +0,0 @@
1
- <div class="title-h2-a">
2
- <div class="title-h2-a-left">
3
- <h2 style="padding-top: 0;margin:0.6rem 0 0.6rem;">🎣 钓鱼</h2>
4
- <a id="random-post-start" href="javascript:fetchRandomPost();" rel="external nofollow"
5
- style="transition-duration: 0.3s; transform: rotate(63000deg); opacity: 1;" data-pjax-state="">
6
- <i class="scoicon refresh-line" hidden="hidden"></i>
7
- </a>
8
- </div>
9
- <div class="title-h2-a-right"><a class="random-post-all" href="/links/" data-pjax-state="">全部友链</a></div>
10
- </div>
11
- <div id="random-post"></div>
12
-
13
- <div class="title-h2-a">
14
- <div class="title-h2-a-left">
15
- <h2 style="padding-top: 0;margin:0.6rem 0 0.6rem;">🐟 鱼塘</h2>
16
- </div>
17
- <div class="title-h2-a-right"><span>以下内容自动生成,未经过审核</span></div>
18
- </div>
19
- <script>
20
- var fdata = {
21
- apiurl: "<%= theme.thirdparty.circle.api %>",
22
- defaultFish: 100,
23
- hungryFish: 100,
24
- }
25
- </script>
26
- <%- js('/lib/friends_post') %>