├── .github
└── workflows
│ └── build.yml
├── .gitignore
├── README.md
├── _config.butterfly.yml
├── _config.landscape.yml
├── _config.yml
├── package-lock.json
├── package.json
├── scaffolds
├── draft.md
├── page.md
└── post.md
└── source
├── _data
└── link.yml
├── _posts
├── 神秘模块详细教程.md
└── 神秘模块详细教程
│ ├── 20230505095351934.jpg
│ ├── 20230505095357021.jpg
│ ├── 20230505095457702.jpg
│ ├── 20230505101521031.jpg
│ ├── 20230505101523609.jpg
│ ├── 20230505102333065.jpg
│ ├── 20230505102335390.jpg
│ ├── 20230505102753101.jpg
│ ├── 20230505103524540.jpg
│ ├── 20230505103534856.jpg
│ ├── 20230505103540818.jpg
│ ├── 20230505103544263.jpg
│ ├── 20230505150013592.jpg
│ ├── 20230906153119436.jpg
│ ├── 20231007232729208.jpg
│ ├── 20231007232747398.jpg
│ ├── 20231007232750279.jpg
│ ├── 20231007232807776.jpg
│ ├── 20231007232910.jpg
│ ├── 20231007232932387.jpg
│ ├── 20231007232941235.jpg
│ ├── 20231007233008821.jpg
│ ├── 20231007234233.jpg
│ ├── 20231008000436.jpg
│ ├── 20231008005316.jpg
│ ├── 20231008005635.jpg
│ └── 23231007232958.jpg
├── about
└── index.md
├── categories
└── index.md
├── link
└── index.md
├── res
├── cover
│ ├── 35750.png
│ └── 35761.png
├── css
│ └── index.css
├── img
│ ├── 404.png
│ ├── avatar.jpg
│ ├── bg.jpg
│ ├── default_cover.jpg
│ ├── default_top_image.jpg
│ ├── logo.png
│ ├── logo.svg
│ ├── top_image.jpg
│ └── top_image_2.jpg
└── js
│ ├── clipboard.min.js
│ ├── index.js
│ ├── jquery-3.6.0.min.js
│ └── signature.js
└── tags
└── index.md
/.github/workflows/build.yml:
--------------------------------------------------------------------------------
1 | name: Build and Deploy
2 |
3 | on:
4 | push:
5 |
6 | jobs:
7 | build:
8 | runs-on: ubuntu-latest
9 |
10 | steps:
11 | - uses: actions/checkout@v4
12 | with:
13 | fetch-depth: 0
14 |
15 | - name: Setup Node.js
16 | uses: actions/setup-node@v4
17 | with:
18 | node-version: latest
19 |
20 | - name: Configuration Environment
21 | run: |
22 | npm install
23 | npm install -g hexo
24 | git config --global user.email "github-actions[bot]@users.noreply.github.com"
25 | git config --global user.name "github-actions[bot]"
26 | git config init.defaultbranch gh-pages
27 |
28 | - name: Build
29 | run: |
30 | hexo generate
31 |
32 | - name: Start Deploy
33 | run: |
34 | cp -r public .deploy_git
35 | cd .deploy_git
36 | git init .
37 | git add -A
38 | git commit -m "Build & Deploy"
39 |
40 | - name: Push changes
41 | uses: ad-m/github-push-action@master
42 | with:
43 | force: true
44 | branch: "gh-pages"
45 | github_token: ${{ secrets.GITHUB_TOKEN }}
46 | directory: ".deploy_git"
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | /public/
3 | .deploy*/
4 | db.json
5 | .deplay/
6 | /themes/*
7 | !/themes/.gitkeep
8 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 神秘详细教程
2 |
3 | ## 阅读须知
4 | - 本教程所有代码块中以 $ 或 # 开头的是命令,没有的是命令执行结果或者代码
5 | - 以 # 开头的命令是以 root 身份执行的,需要在执行 su 切换 root 身份后执行
6 | - 本教程欢迎你来修改,修改可以前往 [GitHub](https://github.com/xireiki/tutorial-mystery) 提交 Issues 或者 Pull requests
7 |
8 | ## 介绍
9 | ### sing-box 介绍
10 | - 正如 [GitHub](https://github.com/SagerNet/sing-box) 下简明的介绍一致,[sing-box](https://github.com/SagerNet/sing-box) 是一款开源的通用代理软件,多平台兼容性好,性能优异。
11 | - 由于 [sing-box](https://github.com/SagerNet/sing-box) 内核本身并无 provider,单独使用时对于机场用户十分不友好,与此同时衍生出了 provider 分支,以及启动模块的外置 provider,也就是下文将要介绍到的神秘模块,除此之外还有 [𝐄𝟓 𝟖𝟔 𝟗𝟓](https://t.me/e58695) 制作的 [box4magisk](https://github.com/CHIZI-0618/box4magisk),该启动模块可以使用 [sing-box](https://github.com/SagerNet/sing-box) 的 [provider](https://github.com/PuerNya/sing-box/tree/building) 分支。
12 | - 本教程以 [Puer 是只喵 喵~](https://github.com/PuerNya) 制作的 Android [sing-box](https://github.com/SagerNet/sing-box) 启动模块神秘模块为基础,介绍 [sing-box](https://github.com/SagerNet/sing-box) 的基础功能及使用方法。
13 | - [sing-box 官方文档](https://sing-box.sagernet.org/zh/)
14 |
15 | ### 神秘介绍
16 | - 神秘模块(文中所称的神秘)是 [Puer 是只喵 喵~](https://github.com/PuerNya) 制作的 sing-box Magisk 模块,用于使用 provider(提供者,机场订阅) 并启动 sing-box 内核
17 | - 神秘发布渠道为 Telegram 话题组 [原始人,启洞!](https://t.me/+1-1lPvQxklVlZjA1) 下的“啊?”话题(特殊时期,已修改为私人群聊)
18 | - 请仔细观看教程,不要在群里提问傻逼问题,右下角有文章索引目录
19 |
20 | ## 开始阅读!
21 | - [Netlify(主)](https://xireiki.netlify.app)
22 | - [Github](https://xireiki.github.io/tutorial-mystery)
23 |
--------------------------------------------------------------------------------
/_config.butterfly.yml:
--------------------------------------------------------------------------------
1 | # Main menu navigation (導航目錄)
2 | # see https://butterfly.js.org/posts/4aa8abbe/#導航菜單
3 | # --------------------------------------
4 |
5 | menu:
6 | 主页: / || fas fa-home
7 | 归档: /archives/ || fas fa-archive
8 | 标签: /tags/ || fas fa-tags
9 | 分类: /categories/ || fas fa-folder-open
10 | 列表 || fas fa-list || hide:
11 | 神秘教程: /posts/1542838017 || fas fa-music
12 | # Movie: /movies/ || fas fa-video
13 | 友链: /link/ || fas fa-link
14 | 关于: /about/ || fas fa-heart
15 |
16 | nav:
17 | logo: # image
18 | display_title: true
19 | fixed: true # fixed navigation bar
20 |
21 | # Code Blocks (代碼相關)
22 | # --------------------------------------
23 |
24 | highlight_theme: light # darker / pale night / light / ocean / mac / mac light / false
25 | highlight_copy: true # copy button
26 | highlight_lang: true # show the code language
27 | highlight_shrink: false # true: shrink the code blocks / false: expand the code blocks | none: expand code blocks and hide the button
28 | highlight_height_limit: 150 # unit: px
29 | code_word_wrap: true
30 |
31 | # copy settings
32 | # copyright: Add the copyright information after copied content (複製的內容後面加上版權信息)
33 | copy:
34 | enable: true
35 | copyright:
36 | enable: false
37 | limit_count: 50
38 |
39 | # social settings (社交圖標設置)
40 | # formal:
41 | # icon: link || the description
42 | social:
43 | fas fa-envelope: mailto:xiayinlily@outlook.com || Email
44 |
45 | # search (搜索)
46 | # see https://butterfly.js.org/posts/ceeb73f/#搜索系統
47 | # --------------------------------------
48 |
49 | # Algolia search
50 | algolia_search:
51 | enable: false
52 | hits:
53 | per_page: 6
54 |
55 | # Local search
56 | local_search:
57 | enable: true
58 | preload: true
59 | CDN:
60 |
61 | # Docsearch
62 | # https://docsearch.algolia.com/
63 | docsearch:
64 | enable: false
65 | appId:
66 | apiKey:
67 | indexName:
68 | option:
69 |
70 | # Math (數學)
71 | # --------------------------------------
72 | # About the per_page
73 | # if you set it to true, it will load mathjax/katex script in each page (true 表示每一頁都加載js)
74 | # if you set it to false, it will load mathjax/katex script according to your setting (add the 'mathjax: true' in page's front-matter)
75 | # (false 需要時加載,須在使用的 Markdown Front-matter 加上 mathjax: true)
76 |
77 | # MathJax
78 | mathjax:
79 | enable: false
80 | per_page: false
81 |
82 | # KaTeX
83 | katex:
84 | enable: false
85 | per_page: false
86 | hide_scrollbar: true
87 |
88 | # Image (圖片設置)
89 | # --------------------------------------
90 |
91 | # Favicon(網站圖標)
92 | favicon: /res/img/logo.png
93 |
94 | # Avatar (頭像)
95 | avatar:
96 | img: /res/img/avatar.jpg
97 | effect: false
98 |
99 | # Disable all banner image
100 | disable_top_img: false
101 |
102 | # The banner image of home page
103 | index_img: /res/img/top_image.jpg
104 |
105 | # If the banner of page not setting, it will show the top_img
106 | default_top_img: /res/img/default_top_image.jpg
107 |
108 | # The banner image of archive page
109 | archive_img:
110 |
111 | # If the banner of tag page not setting, it will show the top_img
112 | # note: tag page, not tags page (子標籤頁面的 top_img)
113 | tag_img:
114 |
115 | # The banner image of tag page
116 | # format:
117 | # - tag name: xxxxx
118 | tag_per_img:
119 |
120 | # If the banner of category page not setting, it will show the top_img
121 | # note: category page, not categories page (子分類頁面的 top_img)
122 | category_img:
123 |
124 | # The banner image of category page
125 | # format:
126 | # - category name: xxxxx
127 | category_per_img:
128 |
129 | cover:
130 | # display the cover or not (是否顯示文章封面)
131 | index_enable: true
132 | aside_enable: true
133 | archives_enable: true
134 | # the position of cover in home page (封面顯示的位置)
135 | # left/right/both
136 | position: both
137 | # When cover is not set, the default cover is displayed (當沒有設置cover時,默認的封面顯示)
138 | default_cover:
139 | - https://i.loli.net/2020/05/01/gkihqEjXxJ5UZ1C.jpg
140 | - /res/img/top_image.jpg
141 | - /res/img/default_cover.jpg
142 | - /res/img/top_image_2.jpg
143 |
144 | # Replace Broken Images (替換無法顯示的圖片)
145 | error_img:
146 | flink: /img/friend_404.gif
147 | post_page: /img/404.jpg
148 |
149 | # A simple 404 page
150 | error_404:
151 | enable: false
152 | subtitle: 'Page Not Found'
153 | background: /res/img/404.png
154 |
155 | post_meta:
156 | page: # Home Page
157 | date_type: created # created or updated or both 主頁文章日期是創建日或者更新日或都顯示
158 | date_format: date # date/relative 顯示日期還是相對日期
159 | categories: true # true or false 主頁是否顯示分類
160 | tags: false # true or false 主頁是否顯示標籤
161 | label: true # true or false 顯示描述性文字
162 | post:
163 | date_type: both # created or updated or both 文章頁日期是創建日或者更新日或都顯示
164 | date_format: date # date/relative 顯示日期還是相對日期
165 | categories: true # true or false 文章頁是否顯示分類
166 | tags: true # true or false 文章頁是否顯示標籤
167 | label: true # true or false 顯示描述性文字
168 |
169 | # wordcount (字數統計)
170 | # see https://butterfly.js.org/posts/ceeb73f/#字數統計
171 | wordcount:
172 | enable: true
173 | post_wordcount: true
174 | min2read: true
175 | total_wordcount: true
176 |
177 | # Display the article introduction on homepage
178 | # 1: description
179 | # 2: both (if the description exists, it will show description, or show the auto_excerpt)
180 | # 3: auto_excerpt (default)
181 | # false: do not show the article introduction
182 | index_post_content:
183 | method: 2
184 | length: 500 # if you set method to 2 or 3, the length need to config
185 |
186 | # anchor
187 | anchor:
188 | button:
189 | enable: false
190 | always_show: false
191 | icon: # the unicode value of Font Awesome icon, such as '\3423'
192 | auto_update: true # when you scroll in post, the URL will update according to header id.
193 |
194 | # Post
195 | # --------------------------------------
196 |
197 | # toc (目錄)
198 | toc:
199 | post: true
200 | page: true
201 | number: true
202 | expand: false
203 | style_simple: false # for post
204 | scroll_percent: false
205 |
206 | post_copyright:
207 | enable: true
208 | decode: false
209 | author_href:
210 | license: CC BY-NC-SA 4.0
211 | license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/
212 |
213 | # Sponsor/reward
214 | reward:
215 | enable: false
216 | QR_code:
217 | - img: /res/img/wechat.png
218 | link:
219 | text: 微信
220 | - img: /res/img/alipay.png
221 | link:
222 | text: 支付宝
223 |
224 | # Post edit
225 | # Easily browse and edit blog source code online.
226 | post_edit:
227 | enable: false
228 | # url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/
229 | # For example: https://github.com/jerryc127/butterfly.js.org/edit/main/source/
230 | url:
231 |
232 | # Related Articles
233 | related_post:
234 | enable: true
235 | limit: 6 # Number of posts displayed
236 | date_type: created # or created or updated 文章日期顯示創建日或者更新日
237 |
238 | # figcaption (圖片描述文字)
239 | photofigcaption: false
240 |
241 | # post_pagination (分頁)
242 | # value: 1 || 2 || false
243 | # 1: The 'next post' will link to old post
244 | # 2: The 'next post' will link to new post
245 | # false: disable pagination
246 | post_pagination: 1
247 |
248 | # Displays outdated notice for a post (文章過期提醒)
249 | noticeOutdate:
250 | enable: false
251 | style: flat # style: simple/flat
252 | limit_day: 500 # When will it be shown
253 | position: top # position: top/bottom
254 | message_prev: It has been
255 | message_next: days since the last update, the content of the article may be outdated.
256 |
257 | # Share System (分享功能)
258 | # --------------------------------------
259 |
260 | # AddThis
261 | # https://www.addthis.com/
262 | addThis:
263 | enable: false
264 | pubid:
265 |
266 | # Share.js
267 | # https://github.com/overtrue/share.js
268 | sharejs:
269 | enable: true
270 | sites: facebook,twitter,wechat,weibo,qq
271 |
272 | # AddToAny
273 | # https://www.addtoany.com/
274 | addtoany:
275 | enable: false
276 | item: facebook,twitter,wechat,sina_weibo,facebook_messenger,email,copy_link
277 |
278 | # Comments System
279 | # --------------------------------------
280 |
281 | comments:
282 | # Up to two comments system, the first will be shown as default
283 | # Choose: Disqus/Disqusjs/Livere/Gitalk/Valine/Waline/Utterances/Facebook Comments/Twikoo/Giscus/Remark42/Artalk
284 | use: Twikoo # Valine,Disqus
285 | text: true # Display the comment name next to the button
286 | # lazyload: The comment system will be load when comment element enters the browser's viewport.
287 | # If you set it to true, the comment count will be invalid
288 | lazyload: false
289 | count: true # Display comment count in post's top_img
290 | card_post_count: true # Display comment count in Home Page
291 |
292 | # disqus
293 | # https://disqus.com/
294 | disqus:
295 | shortname:
296 | apikey: # For newest comments widget
297 |
298 | # Alternative Disqus - Render comments with Disqus API
299 | # DisqusJS 評論系統,可以實現在網路審查地區載入 Disqus 評論列表,兼容原版
300 | # https://github.com/SukkaW/DisqusJS
301 | disqusjs:
302 | shortname:
303 | apikey:
304 | option:
305 |
306 | # livere (來必力)
307 | # https://www.livere.com/
308 | livere:
309 | uid:
310 |
311 | # gitalk
312 | # https://github.com/gitalk/gitalk
313 | gitalk:
314 | client_id:
315 | client_secret:
316 | repo:
317 | owner:
318 | admin:
319 | option:
320 |
321 | # valine
322 | # https://valine.js.org
323 | valine:
324 | appId: # leancloud application app id
325 | appKey: # leancloud application app key
326 | avatar: monsterid # gravatar style https://valine.js.org/#/avatar
327 | serverURLs: # This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in)
328 | bg: # valine background
329 | visitor: false
330 | option:
331 |
332 | # waline - A simple comment system with backend support fork from Valine
333 | # https://waline.js.org/
334 | waline:
335 | serverURL: # Waline server address url
336 | bg: # waline background
337 | pageview: false
338 | option:
339 |
340 | # utterances
341 | # https://utteranc.es/
342 | utterances:
343 | repo:
344 | # Issue Mapping: pathname/url/title/og:title
345 | issue_term: pathname
346 | # Theme: github-light/github-dark/github-dark-orange/icy-dark/dark-blue/photon-dark
347 | light_theme: github-light
348 | dark_theme: photon-dark
349 |
350 | # Facebook Comments Plugin
351 | # https://developers.facebook.com/docs/plugins/comments/
352 | facebook_comments:
353 | app_id:
354 | user_id: # optional
355 | pageSize: 10 # The number of comments to show
356 | order_by: social # social/time/reverse_time
357 | lang: zh_CN # Language en_US/zh_CN/zh_TW and so on
358 |
359 | # Twikoo
360 | # https://github.com/imaegoo/twikoo
361 | twikoo:
362 | envId: https://twikoo-xireiki.netlify.app/.netlify/functions/twikoo
363 | region:
364 | visitor: false
365 | option:
366 |
367 | # Giscus
368 | # https://giscus.app/
369 | giscus:
370 | repo:
371 | repo_id:
372 | category_id:
373 | theme:
374 | light: light
375 | dark: dark
376 | option:
377 |
378 | # Remark42
379 | # https://remark42.com/docs/configuration/frontend/
380 | remark42:
381 | host: # Your Host URL
382 | siteId: # Your Site ID
383 | option:
384 |
385 | # Artalk
386 | # https://artalk.js.org/guide/frontend/config.html
387 | artalk:
388 | server:
389 | site:
390 | visitor: false
391 | option:
392 |
393 | # Chat Services
394 | # --------------------------------------
395 |
396 | # Chat Button [recommend]
397 | # It will create a button in the bottom right corner of website, and hide the origin button
398 | chat_btn: false
399 |
400 | # The origin chat button is displayed when scrolling up, and the button is hidden when scrolling down
401 | chat_hide_show: false
402 |
403 | # chatra
404 | # https://chatra.io/
405 | chatra:
406 | enable: false
407 | id:
408 |
409 | # tidio
410 | # https://www.tidio.com/
411 | tidio:
412 | enable: false
413 | public_key:
414 |
415 | # daovoice
416 | # http://dashboard.daovoice.io/app
417 | daovoice:
418 | enable: false
419 | app_id:
420 |
421 | # gitter
422 | # https://gitter.im/
423 | gitter:
424 | enable: false
425 | room:
426 |
427 | # crisp
428 | # https://crisp.chat/en/
429 | crisp:
430 | enable: false
431 | website_id:
432 |
433 | # messenger
434 | # https://developers.facebook.com/docs/messenger-platform/discovery/facebook-chat-plugin/
435 | messenger:
436 | enable: false
437 | pageID:
438 | lang: zh_CN # Language en_US/zh_CN/zh_TW and so on
439 |
440 | # Footer Settings
441 | # --------------------------------------
442 | footer:
443 | owner:
444 | enable: true
445 | since: 2022
446 | custom_text:
447 | copyright: false # Copyright of theme and framework
448 |
449 | # Analysis
450 | # --------------------------------------
451 |
452 | # Baidu Analytics
453 | # https://tongji.baidu.com/web/welcome/login
454 | baidu_analytics:
455 |
456 | # Google Analytics
457 | # https://analytics.google.com/analytics/web/
458 | google_analytics:
459 |
460 | # Cloudflare Analytics
461 | # https://www.cloudflare.com/zh-tw/web-analytics/
462 | cloudflare_analytics:
463 |
464 | # Microsoft Clarity
465 | # https://clarity.microsoft.com/
466 | microsoft_clarity:
467 |
468 | # Advertisement
469 | # --------------------------------------
470 |
471 | # Google Adsense (谷歌廣告)
472 | google_adsense:
473 | enable: false
474 | auto_ads: true
475 | js: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
476 | client:
477 | enable_page_level_ads: true
478 |
479 | # Insert ads manually (手動插入廣告)
480 | # ad:
481 | # index:
482 | # aside:
483 | # post:
484 |
485 | # Verification (站長驗證)
486 | # --------------------------------------
487 |
488 | site_verification:
489 | # - name: google-site-verification
490 | # content: xxxxxx
491 | # - name: baidu-site-verification
492 | # content: xxxxxxx
493 |
494 | # Beautify/Effect (美化/效果)
495 | # --------------------------------------
496 |
497 | # Theme color for customize
498 | # Notice: color value must in double quotes like "#000" or may cause error!
499 |
500 | # theme_color:
501 | # enable: true
502 | # main: "#49B1F5"
503 | # paginator: "#00c4b6"
504 | # button_hover: "#FF7242"
505 | # text_selection: "#00c4b6"
506 | # link_color: "#99a9bf"
507 | # meta_color: "#858585"
508 | # hr_color: "#A4D8FA"
509 | # code_foreground: "#F47466"
510 | # code_background: "rgba(27, 31, 35, .05)"
511 | # toc_color: "#00c4b6"
512 | # blockquote_padding_color: "#49b1f5"
513 | # blockquote_background_color: "#49b1f5"
514 | # scrollbar_color: "#49b1f5"
515 | # meta_theme_color_light: "ffffff"
516 | # meta_theme_color_dark: "#0d0d0d"
517 |
518 | # The top_img settings of home page
519 | # default: top img - full screen, site info - middle (默認top_img全屏,site_info在中間)
520 | # The position of site info, eg: 300px/300em/300rem/10% (主頁標題距離頂部距離)
521 | index_site_info_top:
522 | # The height of top_img, eg: 300px/300em/300rem (主頁top_img高度)
523 | index_top_img_height: 20rem
524 |
525 | # The user interface setting of category and tag page (category和tag頁的UI設置)
526 | # index - same as Homepage UI (index 值代表 UI將與首頁的UI一樣)
527 | # default - same as archives UI 默認跟archives頁面UI一樣
528 | category_ui: # 留空或 index
529 | tag_ui: # 留空或 index
530 |
531 | # Website Background (設置網站背景)
532 | # can set it to color or image (可設置圖片 或者 顔色)
533 | # The formal of image: url(http://xxxxxx.com/xxx.jpg)
534 | background: url(/res/img/bg.jpg)
535 |
536 | # Footer Background
537 | footer_bg: false
538 |
539 | # the position of bottom right button/default unit: px (右下角按鈕距離底部的距離/默認單位為px)
540 | rightside-bottom:
541 |
542 | # Enter transitions (開啓網頁進入效果)
543 | enter_transitions: true
544 |
545 | # Background effects (背景特效)
546 | # --------------------------------------
547 |
548 | # canvas_ribbon (靜止彩帶背景)
549 | # See: https://github.com/hustcc/ribbon.js
550 | canvas_ribbon:
551 | enable: false
552 | size: 150
553 | alpha: 0.6
554 | zIndex: -1
555 | click_to_change: false
556 | mobile: false
557 |
558 | # Fluttering Ribbon (動態彩帶)
559 | canvas_fluttering_ribbon:
560 | enable: false
561 | mobile: false
562 |
563 | # canvas_nest
564 | # https://github.com/hustcc/canvas-nest.js
565 | canvas_nest:
566 | enable: false
567 | color: '0,0,255' #color of lines, default: '0,0,0'; RGB values: (R,G,B).(note: use ',' to separate.)
568 | opacity: 0.7 # the opacity of line (0~1), default: 0.5.
569 | zIndex: -1 # z-index property of the background, default: -1.
570 | count: 99 # the number of lines, default: 99.
571 | mobile: false
572 |
573 | # Typewriter Effect (打字效果)
574 | # https://github.com/disjukr/activate-power-mode
575 | activate_power_mode:
576 | enable: true
577 | colorful: true # open particle animation (冒光特效)
578 | shake: false # open shake (抖動特效)
579 | mobile: true
580 |
581 | # Mouse click effects: fireworks (鼠標點擊效果: 煙火特效)
582 | fireworks:
583 | enable: false
584 | zIndex: 9999 # -1 or 9999
585 | mobile: false
586 |
587 | # Mouse click effects: Heart symbol (鼠標點擊效果: 愛心)
588 | click_heart:
589 | enable: false
590 | mobile: false
591 |
592 | # Mouse click effects: words (鼠標點擊效果: 文字)
593 | ClickShowText:
594 | enable: false
595 | text:
596 | # - I
597 | # - LOVE
598 | # - YOU
599 | fontSize: 15px
600 | random: false
601 | mobile: false
602 |
603 | # Default display mode (網站默認的顯示模式)
604 | # light (default) / dark
605 | display_mode: light
606 |
607 | # Beautify (美化頁面顯示)
608 | beautify:
609 | enable: true
610 | field: post # site/post
611 | title-prefix-icon: # '\f0c1'
612 | title-prefix-icon-color: # '#F47466'
613 |
614 | # Global font settings
615 | # Don't modify the following settings unless you know how they work (非必要不要修改)
616 | font:
617 | global-font-size:
618 | code-font-size:
619 | font-family:
620 | code-font-family:
621 |
622 | # Font settings for the site title and site subtitle
623 | # 左上角網站名字 主頁居中網站名字
624 | blog_title_font:
625 | font_link:
626 | font-family:
627 |
628 | # The setting of divider icon (水平分隔線圖標設置)
629 | hr_icon:
630 | enable: true
631 | icon: # the unicode value of Font Awesome icon, such as '\3423'
632 | icon-top:
633 |
634 | # the subtitle on homepage (主頁subtitle)
635 | subtitle:
636 | enable: true
637 | # Typewriter Effect (打字效果)
638 | effect: true
639 | # Customize typed.js (配置typed.js)
640 | # https://github.com/mattboldt/typed.js/#customization
641 | typed_option:
642 | # source 調用第三方服務
643 | # source: false 關閉調用
644 | # source: 1 調用一言網的一句話(簡體) https://hitokoto.cn/
645 | # source: 2 調用一句網(簡體) https://yijuzhan.com/
646 | # source: 3 調用今日詩詞(簡體) https://www.jinrishici.com/
647 | # subtitle 會先顯示 source , 再顯示 sub 的內容
648 | source: 1
649 | # 如果關閉打字效果,subtitle 只會顯示 sub 的第一行文字
650 | sub:
651 | - 你好啊!(´◊ω◊`)
652 |
653 | # Loading Animation (加載動畫)
654 | preloader:
655 | enable: true
656 | # source
657 | # 1. fullpage-loading
658 | # 2. pace (progress bar)
659 | source: 1
660 | # pace theme (see https://codebyzach.github.io/pace/)
661 | pace_css_url:
662 |
663 | # aside (側邊欄)
664 | # --------------------------------------
665 |
666 | aside:
667 | enable: true
668 | hide: false
669 | button: true
670 | mobile: true # display on mobile
671 | position: right # left or right
672 | display:
673 | archive: true
674 | tag: true
675 | category: true
676 | card_author:
677 | enable: true
678 | description:
679 | button:
680 | enable: true
681 | icon: fab fa-github
682 | text: Follow Me
683 | link: https://github.com/
684 | card_announcement:
685 | enable: true
686 | content: "1.征集教程封面啦!如果你有想法,请前往 @xiayinlily 的绑定群聊发生你的想法或者邮件发我!
2.征集主页图片!(长期)有意者请通过 @xiayinlily 或者邮件联系。"
687 | card_recent_post:
688 | enable: true
689 | limit: 5 # if set 0 will show all
690 | sort: date # date or updated
691 | sort_order: # Don't modify the setting unless you know how it works
692 | card_categories:
693 | enable: true
694 | limit: 8 # if set 0 will show all
695 | expand: none # none/true/false
696 | sort_order: # Don't modify the setting unless you know how it works
697 | card_tags:
698 | enable: true
699 | limit: 40 # if set 0 will show all
700 | color: false
701 | orderby: random # Order of tags, random/name/length
702 | order: 1 # Sort of order. 1, asc for ascending; -1, desc for descending
703 | sort_order: # Don't modify the setting unless you know how it works
704 | card_archives:
705 | enable: true
706 | type: monthly # yearly or monthly
707 | format: MMMM YYYY # eg: YYYY年MM月
708 | order: -1 # Sort of order. 1, asc for ascending; -1, desc for descending
709 | limit: 8 # if set 0 will show all
710 | sort_order: # Don't modify the setting unless you know how it works
711 | card_webinfo:
712 | enable: true
713 | post_count: true
714 | last_push_date: true
715 | sort_order: # Don't modify the setting unless you know how it works
716 |
717 | # busuanzi count for PV / UV in site
718 | # 訪問人數
719 | busuanzi:
720 | site_uv: true
721 | site_pv: true
722 | page_pv: true
723 |
724 | # Time difference between publish date and now (網頁運行時間)
725 | # Formal: Month/Day/Year Time or Year/Month/Day Time
726 | runtimeshow:
727 | enable: true
728 | publish_date: 2022/12/1 00:00:00
729 |
730 | # Aside widget - Newest Comments
731 | newest_comments:
732 | enable: false
733 | sort_order: # Don't modify the setting unless you know how it works
734 | limit: 6
735 | storage: 10 # unit: mins, save data to localStorage
736 | avatar: true
737 |
738 | # Bottom right button (右下角按鈕)
739 | # --------------------------------------
740 |
741 | # Conversion between Traditional and Simplified Chinese (簡繁轉換)
742 | translate:
743 | enable: false
744 | # The text of a button
745 | default: 简
746 | # the language of website (1 - Traditional Chinese/ 2 - Simplified Chinese)
747 | defaultEncoding: 2
748 | # Time delay
749 | translateDelay: 0
750 | # The text of the button when the language is Simplified Chinese
751 | msgToTraditionalChinese: '繁'
752 | # The text of the button when the language is Traditional Chinese
753 | msgToSimplifiedChinese: '簡'
754 |
755 | # Read Mode (閲讀模式)
756 | readmode: true
757 |
758 | # dark mode
759 | darkmode:
760 | enable: true
761 | # Toggle Button to switch dark/light mode
762 | button: true
763 | # Switch dark/light mode automatically (自動切換 dark mode和 light mode)
764 | # autoChangeMode: 1 Following System Settings, if the system doesn't support dark mode, it will switch dark mode between 6 pm to 6 am
765 | # autoChangeMode: 2 Switch dark mode between 6 pm to 6 am
766 | # autoChangeMode: false
767 | autoChangeMode: false
768 |
769 | # show scroll percent in scroll-to-top button
770 | rightside_scroll_percent: true
771 |
772 | # Don't modify the following settings unless you know how they work (非必要請不要修改 )
773 | # Choose: readmode,translate,darkmode,hideAside,toc,chat,comment
774 | # Don't repeat 不要重複
775 | rightside_item_order:
776 | enable: false
777 | hide: # readmode,translate,darkmode,hideAside
778 | show: # toc,chat,comment
779 |
780 | # Lightbox (圖片大圖查看模式)
781 | # --------------------------------------
782 | # You can only choose one, or neither (只能選擇一個 或者 兩個都不選)
783 |
784 | # medium-zoom
785 | # https://github.com/francoischalifour/medium-zoom
786 | medium_zoom: false
787 |
788 | # fancybox
789 | # http://fancyapps.com/fancybox/3/
790 | fancybox: true
791 |
792 | # Tag Plugins settings (標籤外掛)
793 | # --------------------------------------
794 |
795 | # mermaid
796 | # see https://github.com/mermaid-js/mermaid
797 | mermaid:
798 | enable: false
799 | # built-in themes: default/forest/dark/neutral
800 | theme:
801 | light: default
802 | dark: dark
803 |
804 | # Note (Bootstrap Callout)
805 | note:
806 | # Note tag style values:
807 | # - simple bs-callout old alert style. Default.
808 | # - modern bs-callout new (v2-v3) alert style.
809 | # - flat flat callout style with background, like on Mozilla or StackOverflow.
810 | # - disabled disable all CSS styles import of note tag.
811 | style: flat
812 | icons: true
813 | border_radius: 3
814 | # Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6).
815 | # Offset also applied to label tag variables. This option can work with disabled note tag.
816 | light_bg_offset: 0
817 |
818 | # other
819 | # --------------------------------------
820 |
821 | # Pjax
822 | # It may contain bugs and unstable, give feedback when you find the bugs.
823 | # https://github.com/MoOx/pjax
824 | pjax:
825 | enable: true
826 | exclude:
827 | # -
828 |
829 | # Inject the css and script (aplayer/meting)
830 | aplayerInject:
831 | enable: false
832 | per_page: true
833 |
834 | # Snackbar (Toast Notification 彈窗)
835 | # https://github.com/polonel/SnackBar
836 | # position 彈窗位置
837 | # 可選 top-left / top-center / top-right / bottom-left / bottom-center / bottom-right
838 | snackbar:
839 | enable: false
840 | position: bottom-left
841 | bg_light: '#49b1f5' # The background color of Toast Notification in light mode
842 | bg_dark: '#1f1f1f' # The background color of Toast Notification in dark mode
843 |
844 | # https://instant.page/
845 | # prefetch (預加載)
846 | instantpage: true
847 |
848 | # https://github.com/vinta/pangu.js
849 | # Insert a space between Chinese character and English character (中英文之間添加空格)
850 | pangu:
851 | enable: true
852 | field: site # site/post
853 |
854 | # Lazyload (圖片懶加載)
855 | # https://github.com/verlok/vanilla-lazyload
856 | lazyload:
857 | enable: false
858 | field: site # site/post
859 | placeholder:
860 | blur: false
861 |
862 | # PWA
863 | # See https://github.com/JLHwung/hexo-offline
864 | # ---------------
865 | # pwa:
866 | # enable: false
867 | # manifest: /pwa/manifest.json
868 | # apple_touch_icon: /pwa/apple-touch-icon.png
869 | # favicon_32_32: /pwa/32.png
870 | # favicon_16_16: /pwa/16.png
871 | # mask_icon: /pwa/safari-pinned-tab.svg
872 |
873 | # Open graph meta tags
874 | # https://developers.facebook.com/docs/sharing/webmasters/
875 | Open_Graph_meta:
876 | enable: true
877 | option:
878 | # twitter_card:
879 | # twitter_image:
880 | # twitter_id:
881 | # twitter_site:
882 | # google_plus:
883 | # fb_admins:
884 | # fb_app_id:
885 |
886 | # Add the vendor prefixes to ensure compatibility
887 | css_prefix: true
888 |
889 | # Inject
890 | # Insert the code to head (before '' tag) and the bottom (before '