1 | # Main menu navigation (導航目錄)
|
2 | # --------------------------------------
|
3 |
|
4 | # format: name: link || icon
|
5 | # sub-menu
|
6 | # name || icon:
|
7 | # name: link || icon
|
8 |
|
9 | menu:
|
10 | # Home: / || fas fa-home
|
11 | # Archives: /archives/ || fas fa-archive
|
12 | # Tags: /tags/ || fas fa-tags
|
13 | # Categories: /categories/ || fas fa-folder-open
|
14 | # List||fas fa-list:
|
15 | # Music: /music/ || fas fa-music
|
16 | # Movie: /movies/ || fas fa-video
|
17 | # Link: /link/ || fas fa-link
|
18 | # About: /about/ || fas fa-heart
|
19 |
|
20 | # Hide the child menu items in mobile sidebar
|
21 | hide_sidebar_menu_child: false
|
22 |
|
23 | # Code Blocks (代碼相關)
|
24 | # --------------------------------------
|
25 |
|
26 | highlight_theme: light # darker / pale night / light / ocean / mac / mac light / false
|
27 | highlight_copy: true # copy button
|
28 | highlight_lang: true # show the code language
|
29 | highlight_shrink: false # true: shrink the code blocks / false: expand the code blocks | none: expand code blocks and hide the button
|
30 | highlight_height_limit: false # unit: px
|
31 | code_word_wrap: false
|
32 |
|
33 | # copy settings
|
34 | # copyright: Add the copyright information after copied content (複製的內容後面加上版權信息)
|
35 | copy:
|
36 | enable: true
|
37 | copyright:
|
38 | enable: false
|
39 | limit_count: 50
|
40 |
|
41 | # social settings (社交圖標設置)
|
42 | # formal:
|
43 | # icon: link || the description
|
44 | social:
|
45 | # fab fa-github: https://github.com/xxxxx || Github
|
46 | # fas fa-envelope: mailto:xxxxxx@gmail.com || Email
|
47 |
|
48 | # search (搜索)
|
49 | # --------------------------------------
|
50 |
|
51 | # Algolia search
|
52 | algolia_search:
|
53 | enable: false
|
54 | hits:
|
55 | per_page: 6
|
56 |
|
57 | # Local search
|
58 | local_search:
|
59 | enable: false
|
60 |
|
61 | # Math (數學)
|
62 | # --------------------------------------
|
63 | # About the per_page
|
64 | # if you set it to true, it will load mathjax/katex script in each page (true 表示每一頁都加載js)
|
65 | # 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)
|
66 | # (false 需要時加載,須在使用的 Markdown Front-matter 加上 mathjax: true)
|
67 |
|
68 | # MathJax
|
69 | mathjax:
|
70 | enable: false
|
71 | per_page: false
|
72 |
|
73 | # KaTeX
|
74 | katex:
|
75 | enable: false
|
76 | per_page: false
|
77 | hide_scrollbar: true
|
78 |
|
79 | # Image (圖片設置)
|
80 | # --------------------------------------
|
81 |
|
82 | # Favicon(網站圖標)
|
83 | favicon: /img/favicon.png
|
84 |
|
85 | # Avatar (頭像)
|
86 | avatar:
|
87 | img: https://i.loli.net/2021/02/24/5O1day2nriDzjSu.png
|
88 | effect: false
|
89 |
|
90 | # Disable all banner image
|
91 | disable_top_img: false
|
92 |
|
93 | # The banner image of home page
|
94 | index_img:
|
95 |
|
96 | # If the banner of page not setting, it will show the top_img
|
97 | default_top_img:
|
98 |
|
99 | # The banner image of archive page
|
100 | archive_img:
|
101 |
|
102 | # If the banner of tag page not setting, it will show the top_img
|
103 | # note: tag page, not tags page (子標籤頁面的 top_img)
|
104 | tag_img:
|
105 |
|
106 | # The banner image of tag page
|
107 | # format:
|
108 | # - tag name: xxxxx
|
109 | tag_per_img:
|
110 |
|
111 | # If the banner of category page not setting, it will show the top_img
|
112 | # note: category page, not categories page (子分類頁面的 top_img)
|
113 | category_img:
|
114 |
|
115 | # The banner image of category page
|
116 | # format:
|
117 | # - category name: xxxxx
|
118 | category_per_img:
|
119 |
|
120 | cover:
|
121 | # display the cover or not (是否顯示文章封面)
|
122 | index_enable: true
|
123 | aside_enable: true
|
124 | archives_enable: true
|
125 | # the position of cover in home page (封面顯示的位置)
|
126 | # left/right/both
|
127 | position: both
|
128 | # When cover is not set, the default cover is displayed (當沒有設置cover時,默認的封面顯示)
|
129 | default_cover:
|
130 | # - https://i.loli.net/2020/05/01/gkihqEjXxJ5UZ1C.jpg
|
131 |
|
132 | # Replace Broken Images (替換無法顯示的圖片)
|
133 | error_img:
|
134 | flink: /img/friend_404.gif
|
135 | post_page: /img/404.jpg
|
136 |
|
137 | # A simple 404 page
|
138 | error_404:
|
139 | enable: false
|
140 | subtitle: 'Page Not Found'
|
141 | background: https://i.loli.net/2020/05/19/aKOcLiyPl2JQdFD.png
|
142 |
|
143 | post_meta:
|
144 | page: # Home Page
|
145 | date_type: created # created or updated or both 主頁文章日期是創建日或者更新日或都顯示
|
146 | date_format: date # date/relative 顯示日期還是相對日期
|
147 | categories: true # true or false 主頁是否顯示分類
|
148 | tags: false # true or false 主頁是否顯示標籤
|
149 | label: true # true or false 顯示描述性文字
|
150 | post:
|
151 | date_type: both # created or updated or both 文章頁日期是創建日或者更新日或都顯示
|
152 | date_format: date # date/relative 顯示日期還是相對日期
|
153 | categories: true # true or false 文章頁是否顯示分類
|
154 | tags: true # true or false 文章頁是否顯示標籤
|
155 | label: true # true or false 顯示描述性文字
|
156 |
|
157 | # wordcount (字數統計)
|
158 | wordcount:
|
159 | enable: false
|
160 | post_wordcount: true
|
161 | min2read: true
|
162 | total_wordcount: true
|
163 |
|
164 | # Display the article introduction on homepage
|
165 | # 1: description
|
166 | # 2: both (if the description exists, it will show description, or show the auto_excerpt)
|
167 | # 3: auto_excerpt (default)
|
168 | # false: do not show the article introduction
|
169 | index_post_content:
|
170 | method: 3
|
171 | length: 500 # if you set method to 2 or 3, the length need to config
|
172 |
|
173 | # Post
|
174 | # --------------------------------------
|
175 |
|
176 | # toc (目錄)
|
177 | toc:
|
178 | enable: true
|
179 | number: true
|
180 | style_simple: false
|
181 |
|
182 | post_copyright:
|
183 | enable: true
|
184 | decode: false
|
185 | license: CC BY-NC-SA 4.0
|
186 | license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/
|
187 |
|
188 | # Sponsor/reward
|
189 | reward:
|
190 | enable: false
|
191 | QR_code:
|
192 | # - img: /img/wechat.jpg
|
193 | # link:
|
194 | # text: wechat
|
195 | # - img: /img/alipay.jpg
|
196 | # link:
|
197 | # text: alipay
|
198 |
|
199 | # Post edit
|
200 | # Easily browse and edit blog source code online.
|
201 | post_edit:
|
202 | enable: false
|
203 | # url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/
|
204 | # For example: https://github.com/jerryc127/butterfly.js.org/edit/main/source/
|
205 | url:
|
206 |
|
207 | # Related Articles
|
208 | related_post:
|
209 | enable: true
|
210 | limit: 6 # Number of posts displayed
|
211 | date_type: created # or created or updated 文章日期顯示創建日或者更新日
|
212 |
|
213 | # figcaption (圖片描述文字)
|
214 | photofigcaption: false
|
215 |
|
216 | # post_pagination (分頁)
|
217 | # value: 1 || 2 || false
|
218 | # 1: The 'next post' will link to old post
|
219 | # 2: The 'next post' will link to new post
|
220 | # false: disable pagination
|
221 | post_pagination: 1
|
222 |
|
223 | # anchor
|
224 | # when you scroll in post, the URL will update according to header id.
|
225 | anchor: false
|
226 |
|
227 | # Displays outdated notice for a post (文章過期提醒)
|
228 | noticeOutdate:
|
229 | enable: false
|
230 | style: flat # style: simple/flat
|
231 | limit_day: 500 # When will it be shown
|
232 | position: top # position: top/bottom
|
233 | message_prev: It has been
|
234 | message_next: days since the last update, the content of the article may be outdated.
|
235 |
|
236 | # Share System (分享功能)
|
237 | # --------------------------------------
|
238 |
|
239 | # AddThis
|
240 | # https://www.addthis.com/
|
241 | addThis:
|
242 | enable: false
|
243 | pubid:
|
244 |
|
245 | # Share.js
|
246 | # https://github.com/overtrue/share.js
|
247 | sharejs:
|
248 | enable: true
|
249 | sites: facebook,twitter,wechat,weibo,qq
|
250 |
|
251 | # AddToAny
|
252 | # https://www.addtoany.com/
|
253 | addtoany:
|
254 | enable: false
|
255 | item: facebook,twitter,wechat,sina_weibo,facebook_messenger,email,copy_link
|
256 |
|
257 | # Comments System
|
258 | # --------------------------------------
|
259 |
|
260 | comments:
|
261 | # Up to two comments system, the first will be shown as default
|
262 | # Choose: Disqus/Disqusjs/Livere/Gitalk/Valine/Waline/Utterances/Facebook Comments/Twikoo
|
263 | use:
|
264 | # - Valine
|
265 | # - Disqus
|
266 | text: true # Display the comment name next to the button
|
267 | # lazyload: The comment system will be load when comment element enters the browser's viewport.
|
268 | # If you set it to true, the comment count will be invalid
|
269 | lazyload: false
|
270 | count: false # Display comment count in post's top_img
|
271 | card_post_count: false # Display comment count in Home Page
|
272 |
|
273 | # disqus
|
274 | # https://disqus.com/
|
275 | disqus:
|
276 | shortname:
|
277 | apikey: # For newest comments widget
|
278 |
|
279 | # Alternative Disqus - Render comments with Disqus API
|
280 | # DisqusJS 評論系統,可以實現在網路審查地區載入 Disqus 評論列表,兼容原版
|
281 | # https://github.com/SukkaW/DisqusJS
|
282 | disqusjs:
|
283 | shortname:
|
284 | siteName:
|
285 | apikey:
|
286 | api:
|
287 | nocomment: # display when a blog post or an article has no comment attached
|
288 | admin:
|
289 | adminLabel:
|
290 |
|
291 | # livere (來必力)
|
292 | # https://www.livere.com/
|
293 | livere:
|
294 | uid:
|
295 |
|
296 | # gitalk
|
297 | # https://github.com/gitalk/gitalk
|
298 | gitalk:
|
299 | client_id:
|
300 | client_secret:
|
301 | repo:
|
302 | owner:
|
303 | admin:
|
304 | language: en # en, zh-CN, zh-TW, es-ES, fr, ru
|
305 | perPage: 10 # Pagination size, with maximum 100.
|
306 | distractionFreeMode: false # Facebook-like distraction free mode.
|
307 | pagerDirection: last # Comment sorting direction, available values are last and first.
|
308 | createIssueManually: false # Gitalk will create a corresponding github issue for your every single page automatically
|
309 | option:
|
310 |
|
311 | # valine
|
312 | # https://valine.js.org
|
313 | valine:
|
314 | appId: # leancloud application app id
|
315 | appKey: # leancloud application app key
|
316 | pageSize: 10 # comment list page size
|
317 | avatar: monsterid # gravatar style https://valine.js.org/#/avatar
|
318 | lang: en # i18n: zh-CN/zh-TW/en/ja
|
319 | placeholder: Please leave your footprints # valine comment input placeholder (like: Please leave your footprints)
|
320 | guest_info: nick,mail,link # valine comment header info (nick/mail/link)
|
321 | recordIP: false # Record reviewer IP
|
322 | serverURLs: # This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in)
|
323 | bg: # valine background
|
324 | emojiCDN: # emoji CDN
|
325 | enableQQ: false # enable the Nickname box to automatically get QQ Nickname and QQ Avatar
|
326 | requiredFields: nick,mail # required fields (nick/mail)
|
327 | visitor: false
|
328 | option:
|
329 |
|
330 | # waline - A simple comment system with backend support fork from Valine
|
331 | # https://waline.js.org/
|
332 | waline:
|
333 | serverURL: # Waline server address url
|
334 | avatar: monsterid # gravatar style https://zh-tw.gravatar.com/site/implement/images/#default-image
|
335 | avatarCDN: # Gravatar CDN baseURL
|
336 | bg: # waline background
|
337 | visitor: 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: en_US # Language en_US/zh_CN/zh_TW and so on
|
358 |
|
359 | # Twikoo
|
360 | # https://github.com/imaegoo/twikoo
|
361 | twikoo:
|
362 | envId:
|
363 | region:
|
364 | visitor: false
|
365 | option:
|
366 |
|
367 | # Chat Services
|
368 | # --------------------------------------
|
369 |
|
370 | # Chat Button [recommend]
|
371 | # It will create a button in the bottom right corner of website, and hide the origin button
|
372 | chat_btn: false
|
373 |
|
374 | # The origin chat button is displayed when scrolling up, and the button is hidden when scrolling down
|
375 | chat_hide_show: false
|
376 |
|
377 | # chatra
|
378 | # https://chatra.io/
|
379 | chatra:
|
380 | enable: false
|
381 | id:
|
382 |
|
383 | # tidio
|
384 | # https://www.tidio.com/
|
385 | tidio:
|
386 | enable: false
|
387 | public_key:
|
388 |
|
389 | # daovoice
|
390 | # http://daovoice.io/
|
391 | daovoice:
|
392 | enable: false
|
393 | app_id:
|
394 |
|
395 | # gitter
|
396 | # https://gitter.im/
|
397 | gitter:
|
398 | enable: false
|
399 | room:
|
400 |
|
401 | # crisp
|
402 | # https://crisp.chat/en/
|
403 | crisp:
|
404 | enable: false
|
405 | website_id:
|
406 |
|
407 | # Footer Settings
|
408 | # --------------------------------------
|
409 | footer:
|
410 | owner:
|
411 | enable: true
|
412 | since: 2020
|
413 | custom_text:
|
414 | copyright: true # Copyright of theme and framework
|
415 |
|
416 | # Analysis
|
417 | # --------------------------------------
|
418 |
|
419 | # Baidu Analytics
|
420 | # https://tongji.baidu.com/web/welcome/login
|
421 | baidu_analytics:
|
422 |
|
423 | # Google Analytics
|
424 | # https://analytics.google.com/analytics/web/
|
425 | google_analytics:
|
426 |
|
427 | # Tencent Analytics ID
|
428 | # https://mta.qq.com
|
429 | tencent_analytics:
|
430 |
|
431 | # CNZZ Analytics
|
432 | # https://www.umeng.com/
|
433 | cnzz_analytics:
|
434 |
|
435 | # Cloudflare Analytics
|
436 | # https://www.cloudflare.com/zh-tw/web-analytics/
|
437 | cloudflare_analytics:
|
438 |
|
439 | # Microsoft Clarity
|
440 | # https://clarity.microsoft.com/
|
441 | microsoft_clarity:
|
442 |
|
443 | # Advertisement
|
444 | # --------------------------------------
|
445 |
|
446 | # Google Adsense (谷歌廣告)
|
447 | google_adsense:
|
448 | enable: false
|
449 | auto_ads: true
|
450 | js: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
|
451 | client:
|
452 | enable_page_level_ads: true
|
453 |
|
454 | # Insert ads manually (手動插入廣告)
|
455 | # ad:
|
456 | # index:
|
457 | # aside:
|
458 | # post:
|
459 |
|
460 | # Verification (站長驗證)
|
461 | # --------------------------------------
|
462 |
|
463 | site_verification:
|
464 | # - name: google-site-verification
|
465 | # content: xxxxxx
|
466 | # - name: baidu-site-verification
|
467 | # content: xxxxxxx
|
468 |
|
469 | # Beautify/Effect (美化/效果)
|
470 | # --------------------------------------
|
471 |
|
472 | # Theme color for customize
|
473 | # Notice: color value must in double quotes like "#000" or may cause error!
|
474 |
|
475 | # theme_color:
|
476 | # enable: true
|
477 | # main: "#49B1F5"
|
478 | # paginator: "#00c4b6"
|
479 | # button_hover: "#FF7242"
|
480 | # text_selection: "#00c4b6"
|
481 | # link_color: "#99a9bf"
|
482 | # meta_color: "#858585"
|
483 | # hr_color: "#A4D8FA"
|
484 | # code_foreground: "#F47466"
|
485 | # code_background: "rgba(27, 31, 35, .05)"
|
486 | # toc_color: "#00c4b6"
|
487 | # blockquote_padding_color: "#49b1f5"
|
488 | # blockquote_background_color: "#49b1f5"
|
489 |
|
490 | # The top_img settings of home page
|
491 | # default: top img - full screen, site info - middle (默認top_img全屏,site_info在中間)
|
492 | # The position of site info, eg: 300px/300em/300rem/10% (主頁標題距離頂部距離)
|
493 | index_site_info_top:
|
494 | # The height of top_img, eg: 300px/300em/300rem (主頁top_img高度)
|
495 | index_top_img_height:
|
496 |
|
497 | # The user interface setting of category and tag page (category和tag頁的UI設置)
|
498 | # index - same as Homepage UI (index 值代表 UI將與首頁的UI一樣)
|
499 | # default - same as archives UI 默認跟archives頁面UI一樣
|
500 | category_ui: # 留空或 index
|
501 | tag_ui: # 留空或 index
|
502 |
|
503 | # Website Background (設置網站背景)
|
504 | # can set it to color or image (可設置圖片 或者 顔色)
|
505 | # The formal of image: url(http://xxxxxx.com/xxx.jpg)
|
506 | background:
|
507 |
|
508 | # Footer Background
|
509 | footer_bg: false
|
510 |
|
511 | # the position of bottom right button/default unit: px (右下角按鈕距離底部的距離/默認單位為px)
|
512 | rightside-bottom:
|
513 |
|
514 | # Enter transitions (開啓網頁進入效果)
|
515 | enter_transitions: true
|
516 |
|
517 | # Background effects (背景特效)
|
518 | # --------------------------------------
|
519 |
|
520 | # canvas_ribbon (靜止彩帶背景)
|
521 | # See: https://github.com/hustcc/ribbon.js
|
522 | canvas_ribbon:
|
523 | enable: false
|
524 | size: 150
|
525 | alpha: 0.6
|
526 | zIndex: -1
|
527 | click_to_change: false
|
528 | mobile: false
|
529 |
|
530 | # Fluttering Ribbon (動態彩帶)
|
531 | canvas_fluttering_ribbon:
|
532 | enable: false
|
533 | mobile: false
|
534 |
|
535 | # canvas_nest
|
536 | # https://github.com/hustcc/canvas-nest.js
|
537 | canvas_nest:
|
538 | enable: false
|
539 | color: '0,0,255' #color of lines, default: '0,0,0'; RGB values: (R,G,B).(note: use ',' to separate.)
|
540 | opacity: 0.7 # the opacity of line (0~1), default: 0.5.
|
541 | zIndex: -1 # z-index property of the background, default: -1.
|
542 | count: 99 # the number of lines, default: 99.
|
543 | mobile: false
|
544 |
|
545 | # Typewriter Effect (打字效果)
|
546 | # https://github.com/disjukr/activate-power-mode
|
547 | activate_power_mode:
|
548 | enable: false
|
549 | colorful: true # open particle animation (冒光特效)
|
550 | shake: true # open shake (抖動特效)
|
551 | mobile: false
|
552 |
|
553 | # Mouse click effects: fireworks (鼠標點擊效果: 煙火特效)
|
554 | fireworks:
|
555 | enable: false
|
556 | zIndex: 9999 # -1 or 9999
|
557 | mobile: false
|
558 |
|
559 | # Mouse click effects: Heart symbol (鼠標點擊效果: 愛心)
|
560 | click_heart:
|
561 | enable: false
|
562 | mobile: false
|
563 |
|
564 | # Mouse click effects: words (鼠標點擊效果: 文字)
|
565 | ClickShowText:
|
566 | enable: false
|
567 | text:
|
568 | # - I
|
569 | # - LOVE
|
570 | # - YOU
|
571 | fontSize: 15px
|
572 | random: false
|
573 | mobile: false
|
574 |
|
575 | # Default display mode (網站默認的顯示模式)
|
576 | # light (default) / dark
|
577 | display_mode: light
|
578 |
|
579 | # Beautify (美化頁面顯示)
|
580 | beautify:
|
581 | enable: false
|
582 | field: post # site/post
|
583 | title-prefix-icon: '\f0c1'
|
584 | title-prefix-icon-color: '#F47466'
|
585 |
|
586 | # Global font settings
|
587 | # Don't modify the following settings unless you know how they work (非必要不要修改)
|
588 | font:
|
589 | global-font-size:
|
590 | code-font-size:
|
591 | font-family:
|
592 | code-font-family:
|
593 |
|
594 | # Font settings for the site title and site subtitle
|
595 | # 左上角網站名字 主頁居中網站名字
|
596 | blog_title_font:
|
597 | font_link:
|
598 | font-family:
|
599 |
|
600 | # The setting of divider icon (水平分隔線圖標設置)
|
601 | hr_icon:
|
602 | enable: true
|
603 | icon: # the unicode value of Font Awesome icon, such as '\3423'
|
604 | icon-top:
|
605 |
|
606 | # the subtitle on homepage (主頁subtitle)
|
607 | subtitle:
|
608 | enable: false
|
609 | # Typewriter Effect (打字效果)
|
610 | effect: true
|
611 | # loop (循環打字)
|
612 | loop: true
|
613 | # source調用第三方服務
|
614 | # source: false 關閉調用
|
615 | # source: 1 調用搏天api的隨機語錄(簡體)
|
616 | # source: 2 調用一言網的一句話(簡體)
|
617 | # source: 3 調用一句網(簡體)
|
618 | # source: 4 調用今日詩詞(簡體)
|
619 | # subtitle 會先顯示 source , 再顯示 sub 的內容
|
620 | source: false
|
621 | # 如果有英文逗號' , ',請使用轉義字元 ,
|
622 | # 如果有英文雙引號' " ',請使用轉義字元 "
|
623 | # 開頭不允許轉義字元,如需要,請把整個句子用雙引號包住
|
624 | # 如果關閉打字效果,subtitle只會顯示sub的第一行文字
|
625 | sub:
|
626 |
|
627 | # Loading Animation (加載動畫)
|
628 | preloader: false
|
629 |
|
630 | # aside (側邊欄)
|
631 | # --------------------------------------
|
632 |
|
633 | aside:
|
634 | enable: true
|
635 | hide: false
|
636 | button: true
|
637 | mobile: true # display on mobile
|
638 | position: right # left or right
|
639 | card_author:
|
640 | enable: true
|
641 | description:
|
642 | button:
|
643 | enable: true
|
644 | icon: fab fa-github
|
645 | text: Follow Me
|
646 | link: https://github.com/xxxxxx
|
647 | card_announcement:
|
648 | enable: true
|
649 | content: This is my Blog
|
650 | card_recent_post:
|
651 | enable: true
|
652 | limit: 5 # if set 0 will show all
|
653 | sort: date # date or updated
|
654 | sort_order: # Don't modify the setting unless you know how it works
|
655 | card_categories:
|
656 | enable: true
|
657 | limit: 8 # if set 0 will show all
|
658 | expand: none # none/true/false
|
659 | sort_order: # Don't modify the setting unless you know how it works
|
660 | card_tags:
|
661 | enable: true
|
662 | limit: 40 # if set 0 will show all
|
663 | color: false
|
664 | sort_order: # Don't modify the setting unless you know how it works
|
665 | card_archives:
|
666 | enable: true
|
667 | type: monthly # yearly or monthly
|
668 | format: MMMM YYYY # eg: YYYY年MM月
|
669 | order: -1 # Sort of order. 1, asc for ascending; -1, desc for descending
|
670 | limit: 8 # if set 0 will show all
|
671 | sort_order: # Don't modify the setting unless you know how it works
|
672 | card_webinfo:
|
673 | enable: true
|
674 | post_count: true
|
675 | last_push_date: true
|
676 | sort_order: # Don't modify the setting unless you know how it works
|
677 |
|
678 | # busuanzi count for PV / UV in site
|
679 | # 訪問人數
|
680 | busuanzi:
|
681 | site_uv: true
|
682 | site_pv: true
|
683 | page_pv: true
|
684 |
|
685 | # Time difference between publish date and now (網頁運行時間)
|
686 | # Formal: Month/Day/Year Time or Year/Month/Day Time
|
687 | runtimeshow:
|
688 | enable: false
|
689 | publish_date:
|
690 |
|
691 | # Aside widget - Newest Comments
|
692 | newest_comments:
|
693 | enable: false
|
694 | sort_order: # Don't modify the setting unless you know how it works
|
695 | limit: 6
|
696 | storage: 10 # unit: mins, save data to localStorage
|
697 | avatar: true
|
698 |
|
699 | # Bottom right button (右下角按鈕)
|
700 | # --------------------------------------
|
701 |
|
702 | # Change font size
|
703 | change_font_size: false
|
704 |
|
705 | # Conversion between Traditional and Simplified Chinese (簡繁轉換)
|
706 | translate:
|
707 | enable: false
|
708 | # The text of a button
|
709 | default: 繁
|
710 | # the language of website (1 - Traditional Chinese/ 2 - Simplified Chinese)
|
711 | defaultEncoding: 2
|
712 | # Time delay
|
713 | translateDelay: 0
|
714 | # The text of the button when the language is Simplified Chinese
|
715 | msgToTraditionalChinese: '繁'
|
716 | # The text of the button when the language is Traditional Chinese
|
717 | msgToSimplifiedChinese: '簡'
|
718 |
|
719 | # Read Mode (閲讀模式)
|
720 | readmode: true
|
721 |
|
722 | # dark mode
|
723 | darkmode:
|
724 | enable: true
|
725 | # Toggle Button to switch dark/light mode
|
726 | button: true
|
727 | # Switch dark/light mode automatically (自動切換 dark mode和 light mode)
|
728 | # autoChangeMode: 1 Following System Settings, if the system doesn't support dark mode, it will switch dark mode between 6 pm to 6 am
|
729 | # autoChangeMode: 2 Switch dark mode between 6 pm to 6 am
|
730 | # autoChangeMode: false
|
731 | autoChangeMode: false
|
732 |
|
733 | # Lightbox (圖片大圖查看模式)
|
734 | # --------------------------------------
|
735 | # You can only choose one, or neither (只能選擇一個 或者 兩個都不選)
|
736 |
|
737 | # medium-zoom
|
738 | # https://github.com/francoischalifour/medium-zoom
|
739 | medium_zoom: false
|
740 |
|
741 | # fancybox
|
742 | # http://fancyapps.com/fancybox/3/
|
743 | fancybox: true
|
744 |
|
745 | # Tag Plugins settings (標籤外掛)
|
746 | # --------------------------------------
|
747 |
|
748 | # mermaid
|
749 | # see https://github.com/mermaid-js/mermaid
|
750 | mermaid:
|
751 | enable: false
|
752 | # built-in themes: default/forest/dark/neutral
|
753 | theme: default
|
754 |
|
755 | # Note (Bootstrap Callout)
|
756 | note:
|
757 | # Note tag style values:
|
758 | # - simple bs-callout old alert style. Default.
|
759 | # - modern bs-callout new (v2-v3) alert style.
|
760 | # - flat flat callout style with background, like on Mozilla or StackOverflow.
|
761 | # - disabled disable all CSS styles import of note tag.
|
762 | style: flat
|
763 | icons: true
|
764 | border_radius: 3
|
765 | # Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6).
|
766 | # Offset also applied to label tag variables. This option can work with disabled note tag.
|
767 | light_bg_offset: 0
|
768 |
|
769 | # other
|
770 | # --------------------------------------
|
771 |
|
772 | # Pjax
|
773 | # It may contain bugs and unstable, give feedback when you find the bugs.
|
774 | # https://github.com/MoOx/pjax
|
775 | pjax:
|
776 | enable: false
|
777 | exclude:
|
778 | # - xxxx
|
779 | # - xxxx
|
780 |
|
781 | # Inject the css and script (aplayer/meting)
|
782 | aplayerInject:
|
783 | enable: false
|
784 | per_page: true
|
785 |
|
786 | # Snackbar (Toast Notification 彈窗)
|
787 | # https://github.com/polonel/SnackBar
|
788 | # position 彈窗位置
|
789 | # 可選 top-left / top-center / top-right / bottom-left / bottom-center / bottom-right
|
790 | snackbar:
|
791 | enable: false
|
792 | position: bottom-left
|
793 | bg_light: '#49b1f5' # The background color of Toast Notification in light mode
|
794 | bg_dark: '#121212' # The background color of Toast Notification in dark mode
|
795 |
|
796 | # https://instant.page/
|
797 | # prefetch (預加載)
|
798 | instantpage: false
|
799 |
|
800 | # https://github.com/vinta/pangu.js
|
801 | # Insert a space between Chinese character and English character (中英文之間添加空格)
|
802 | pangu:
|
803 | enable: false
|
804 | field: site # site/post
|
805 |
|
806 | # Lazyload (圖片懶加載)
|
807 | # https://github.com/verlok/vanilla-lazyload
|
808 | lazyload:
|
809 | enable: false
|
810 | field: site # site/post
|
811 | placeholder:
|
812 | blur: false
|
813 |
|
814 | # PWA
|
815 | # See https://github.com/JLHwung/hexo-offline
|
816 | # ---------------
|
817 | # pwa:
|
818 | # enable: false
|
819 | # manifest: /pwa/manifest.json
|
820 | # apple_touch_icon: /pwa/apple-touch-icon.png
|
821 | # favicon_32_32: /pwa/32.png
|
822 | # favicon_16_16: /pwa/16.png
|
823 | # mask_icon: /pwa/safari-pinned-tab.svg
|
824 |
|
825 | # Open graph meta tags
|
826 | # https://developers.facebook.com/docs/sharing/webmasters/
|
827 | Open_Graph_meta: true
|
828 |
|
829 | # Add the vendor prefixes to ensure compatibility
|
830 | css_prefix: true
|
831 |
|
832 | # Inject
|
833 | # Insert the code to head (before '</head>' tag) and the bottom (before '</body>' tag)
|
834 | # 插入代码到头部 </head> 之前 和 底部 </body> 之前
|
835 | inject:
|
836 | head:
|
837 | # - <link rel="stylesheet" href="/xxx.css">
|
838 | bottom:
|
839 | # - <script src="xxxx"></script>
|
840 |
|
841 | # CDN
|
842 | # Don't modify the following settings unless you know how they work
|
843 | # 非必要請不要修改
|
844 | CDN:
|
845 | # main
|
846 | main_css: /css/index.css
|
847 | jquery: https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js
|
848 | main: /js/main.js
|
849 | utils: /js/utils.js
|
850 |
|
851 | # pjax
|
852 | pjax: https://cdn.jsdelivr.net/npm/pjax/pjax.min.js
|
853 |
|
854 | # comments
|
855 | gitalk: https://cdn.jsdelivr.net/npm/gitalk@latest/dist/gitalk.min.js
|
856 | gitalk_css: https://cdn.jsdelivr.net/npm/gitalk/dist/gitalk.min.css
|
857 | valine: https://cdn.jsdelivr.net/npm/valine/dist/Valine.min.js
|
858 | disqusjs: https://cdn.jsdelivr.net/npm/disqusjs@1/dist/disqus.js
|
859 | disqusjs_css: https://cdn.jsdelivr.net/npm/disqusjs@1/dist/disqusjs.css
|
860 | utterances: https://utteranc.es/client.js
|
861 | twikoo: https://cdn.jsdelivr.net/npm/twikoo/dist/twikoo.all.min.js
|
862 | waline: https://cdn.jsdelivr.net/npm/@waline/client/dist/Waline.min.js
|
863 |
|
864 | # share
|
865 | addtoany: https://static.addtoany.com/menu/page.js
|
866 | sharejs: https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js
|
867 | sharejs_css: https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css
|
868 |
|
869 | # search
|
870 | local_search: /js/search/local-search.js
|
871 | algolia_js: /js/search/algolia.js
|
872 | algolia_search: https://cdn.jsdelivr.net/npm/instantsearch.js@2.10.5/dist/instantsearch.min.js
|
873 | algolia_search_css: https://cdn.jsdelivr.net/npm/instantsearch.js@2.10.5/dist/instantsearch.min.css
|
874 |
|
875 | # math
|
876 | mathjax: https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
|
877 | katex: https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css
|
878 | katex_copytex: https://cdn.jsdelivr.net/npm/katex@latest/dist/contrib/copy-tex.min.js
|
879 | katex_copytex_css: https://cdn.jsdelivr.net/npm/katex@latest/dist/contrib/copy-tex.css
|
880 | mermaid: https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js
|
881 |
|
882 | # count
|
883 | busuanzi: //busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js
|
884 |
|
885 | # background effect
|
886 | canvas_ribbon: https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/canvas-ribbon.min.js
|
887 | canvas_fluttering_ribbon: https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/canvas-fluttering-ribbon.min.js
|
888 | canvas_nest: https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/canvas-nest.min.js
|
889 |
|
890 | lazyload: https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.iife.min.js
|
891 | instantpage: https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js
|
892 | typed: https://cdn.jsdelivr.net/npm/typed.js/lib/typed.min.js
|
893 | pangu: https://cdn.jsdelivr.net/npm/pangu/dist/browser/pangu.min.js
|
894 |
|
895 | # photo
|
896 | fancybox_css: https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css
|
897 | fancybox: https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js
|
898 | medium_zoom: https://cdn.jsdelivr.net/npm/medium-zoom/dist/medium-zoom.min.js
|
899 |
|
900 | # snackbar
|
901 | snackbar_css: https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css
|
902 | snackbar: https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js
|
903 |
|
904 | # effect
|
905 | activate_power_mode: https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/activate-power-mode.min.js
|
906 | fireworks: https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/fireworks.min.js
|
907 | click_heart: https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/click-heart.min.js
|
908 | ClickShowText: https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/click-show-text.min.js
|
909 |
|
910 | # fontawesome
|
911 | fontawesome: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css
|
912 |
|
913 | # Conversion between Traditional and Simplified Chinese
|
914 | translate: /js/tw_cn.js
|
915 |
|
916 | # justifiedGallery
|
917 | justifiedGallery_js: https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js
|
918 | justifiedGallery_css: https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css
|
919 |
|
920 | # aplayer
|
921 | aplayer_css: https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css
|
922 | aplayer_js: https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js
|
923 | meting_js: https://cdn.jsdelivr.net/gh/metowolf/MetingJS@1.2/dist/Meting.min.js
|
924 |
|
925 | # Prism.js
|
926 | prismjs_js: https://cdn.jsdelivr.net/npm/prismjs/prism.min.js
|
927 | prismjs_lineNumber_js: https://cdn.jsdelivr.net/npm/prismjs/plugins/line-numbers/prism-line-numbers.min.js
|
928 | prismjs_autoloader: https://cdn.jsdelivr.net/npm/prismjs/plugins/autoloader/prism-autoloader.min.js |
\ | No newline at end of file |