0%
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915
| # =============================================================== # 建议使用备用主题配置来设置 NexT # 修改此文件可能会导致合并冲突 # 参见:https://theme-next.js.org/docs/getting-started/configuration # ===============================================================
# --------------------------------------------------------------- # 主题核心配置设置 # 参见:https://theme-next.js.org/docs/theme-settings/ # ---------------------------------------------------------------
# 允许缓存内容生成。 cache: enable: true
# 在 hexo generate 后移除不必要的文件。 minify: false
# 定义自定义文件路径。 # 在站点目录 `source/_data` 中创建自定义文件,并取消下方需要的文件的注释。 custom_file_path: #head: source/_data/head.njk #header: source/_data/header.njk #sidebar: source/_data/sidebar.njk #postMeta: source/_data/post-meta.njk #postBodyStart: source/_data/post-body-start.njk #postBodyEnd: source/_data/post-body-end.njk #footer: source/_data/footer.njk #bodyEnd: source/_data/body-end.njk #variable: source/_data/variables.styl #mixin: source/_data/mixins.styl #style: source/_data/styles.styl
# --------------------------------------------------------------- # 方案设置 # ---------------------------------------------------------------
# 方案 scheme: Muse #scheme: Mist #scheme: Pisces #scheme: Gemini
# 暗色模式 darkmode: true
# 亮暗模式 lightdark: enable: false # 添加 @supports (color: light-dark(red, red)) 检查 check_supports: true
# --------------------------------------------------------------- # 站点信息设置 # ---------------------------------------------------------------
favicon: small: /images/favicon-16x16-next.png medium: /images/favicon-32x32-next.png apple_touch_icon: /images/apple-touch-icon-next.png safari_pinned_tab: /images/logo.svg #android_manifest: /manifest.json
# 自定义 Logo(警告:不支持 Muse 方案以外的方案) custom_logo: #/uploads/custom-logo.png
# 知识共享 4.0 国际许可 # 参见:https://creativecommons.org/about/cclicenses/ creative_commons: # 可用值:by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | cc-zero license: by-nc-sa # 可用值:big | small size: small sidebar: false post: false # 如果你希望使用 CC 许可的翻译版本(例如 deed.zh),可以设置语言值 # CC 许可提供 39 种语言,你可以在 https://creativecommons.org 上找到需要的具体缩写 language:
# Open graph 设置 # 参见:https://hexo.io/docs/helpers#open-graph open_graph: enable: true options: #twitter_card: <twitter:card> #twitter_id: <twitter:creator> #twitter_site: <twitter:site> #twitter_image: <twitter:image> #google_plus: <g+:profile_link> #fb_admins: <fb:admin_id> #fb_app_id: <fb:app_id>
# --------------------------------------------------------------- # 菜单设置 # ---------------------------------------------------------------
# 用法:`Key: /链接/ || 图标` # Key 是菜单项的名称。如果该条目有对应的翻译,则会加载翻译文本,否则使用 Key 名称。Key 区分大小写。 # `||` 分隔符之前的值是目标链接,之后的值是 Font Awesome 图标的名称。 # 外部链接应以 http:// 或 https:// 开头 menu: #home: / || fa fa-home #about: /about/ || fa fa-user #tags: /tags/ || fa fa-tags #categories: /categories/ || fa fa-th #archives: /archives/ || fa fa-archive #schedule: /schedule/ || fa fa-calendar #sitemap: /sitemap.xml || fa fa-sitemap #commonweal: /404/ || fa fa-heartbeat
# 启用/禁用菜单图标/项目徽章 menu_settings: icons: true badges: false
# --------------------------------------------------------------- # 侧边栏设置 # 参见:https://theme-next.js.org/docs/theme-settings/sidebar # ---------------------------------------------------------------
sidebar: # 侧边栏位置。可用值:left | right position: left
# 侧边栏宽度。 # 适用于 Muse | Mist 以及 Pisces | Gemini 的移动端。 width_expanded: 320 # 适用于 Pisces | Gemini 的桌面端。 width_dual_column: 240
# 侧边栏显示方式。 # 适用于 Muse | Mist 以及 Pisces | Gemini 的移动端。 # 可用值: # - post 仅在文章页面自动展开。默认。 # - always 所有页面自动展开。 # - hide 仅在点击侧边栏切换图标时展开。 # - remove 完全移除侧边栏,包括侧边栏切换图标。 display: post
# 侧边栏内边距(像素)。 padding: 18 # 侧边栏距离顶部菜单栏的偏移量(像素)(仅适用于 Pisces | Gemini)。 offset: 12
# 侧边栏头像 avatar: # 替换默认图像并在此设置 URL。 url: #/images/avatar.gif # 如果为 true,头像将以圆形显示。 rounded: false # 如果为 true,头像将随鼠标旋转。 rotated: false
# 侧边栏中的文章/分类/标签统计 site_state: true
# 社交链接 # 用法:`Key: 永久链接 || 图标` # Key 是显示给最终用户的链接标签。 # `||` 分隔符之前的值是目标永久链接,之后的值是 Font Awesome 图标的名称。 social: #GitHub: https://github.com/yourname || fab fa-github #E-Mail: mailto:yourname@gmail.com || fa fa-envelope #Weibo: https://weibo.com/yourname || fab fa-weibo #Twitter: https://twitter.com/yourname || fab fa-twitter #FB Page: https://www.facebook.com/yourname || fab fa-facebook #StackOverflow: https://stackoverflow.com/yourname || fab fa-stack-overflow #YouTube: https://youtube.com/yourname || fab fa-youtube #Instagram: https://instagram.com/yourname || fab fa-instagram #Skype: skype:yourname?call|chat || fab fa-skype
social_icons: enable: true icons_only: false transition: false
# 博客链接 links_settings: icon: fa fa-globe # 可用值:block | inline layout: block
links: #Title: https://example.com
# 侧边栏中的目录 # Front-matter 变量(不支持 wrap 和 expand_all) toc: enable: true # 自动为目录添加编号。 number: true # 如果为 true,当标题宽度超过侧边栏宽度时,所有单词将换行显示。 wrap: false # 如果为 true,将显示文章中所有级别的目录,而不仅仅是激活的部分。 expand_all: false # 生成的目录的最大标题深度。 max_depth: 6
# --------------------------------------------------------------- # 页脚设置 # 参见:https://theme-next.js.org/docs/theme-settings/footer # ---------------------------------------------------------------
# 在页脚中显示多语言切换器 language_switcher: false
footer: # 指定站点建立年份。如果未定义,则使用当前年份。 #since: 2021
# 年份与版权信息之间的图标。 icon: # Font Awesome 中的图标名称。参见:https://fontawesome.com/icons name: fa fa-heart # 如果要让图标有动画效果,请设置为 true。 animated: false # 更改图标颜色,使用十六进制代码。 color: "#ff0000"
# 如果未定义,将使用 Hexo `_config.yml` 中的 `author`。 # 设置为 `false` 可禁用版权声明。 copyright:
# Powered by Hexo & NexT powered: true
# 中国用户的备案信息(ICP 和公安备案)。参见:https://beian.miit.gov.cn, https://beian.mps.gov.cn beian: enable: false icp: # 公安备案编号中的数字部分 gongan_id: # 完整的公安备案编号 gongan_num: # 公安备案的图标。登录查看:https://beian.mps.gov.cn/web/business/businessHome/website gongan_icon_url:
# --------------------------------------------------------------- # 文章设置 # 参见:https://theme-next.js.org/docs/theme-settings/posts # ---------------------------------------------------------------
# 使用 front-matter 中的 `description` 指定文章摘要。 excerpt_description: true
# “阅读更多”按钮 # 如果为 true,摘要部分将显示“阅读更多”按钮。 read_more_btn: true
# 文章元数据显示设置 post_meta: item_text: true created_at: true updated_at: enable: true another_day: true categories: true
# 文章字数统计显示设置 # 依赖:https://github.com/next-theme/hexo-word-counter symbols_count_time: separated_meta: true item_text_total: false
# 在文章底部使用图标代替 # 符号来表示标签 tag_icon: false
# 赞赏(赞助)设置 # Front-matter 变量(不支持动画) reward_settings: # 如果为 true,默认每篇文章都会显示赞赏按钮。 enable: false animation: false
reward: #wechatpay: /images/wechatpay.png #alipay: /images/alipay.png #paypal: /images/paypal.png #bitcoin: /images/bitcoin.png
# 通过 Telegram 频道、Twitter 等订阅 # 用法:`Key: 永久链接 || 图标`(Font Awesome) follow_me: #Twitter: https://twitter.com/username || fab fa-twitter #Telegram: https://t.me/channel_name || fab fa-telegram #WeChat: /images/wechat_channel.png || fab fa-weixin #RSS: /atom.xml || fa fa-rss
# 相关热门文章 # 依赖:https://github.com/next-theme/hexo-posts-embedding # 或:https://github.com/sergeyzwezdin/hexo-related-posts related_posts: enable: false icon: fa fa-signs-post
# 文章编辑 # 在线浏览和编辑博客源代码。 post_edit: enable: false url: https://github.com/user-name/repo-name/tree/branch-name/subdirectory-name/ # 查看源代码的链接 #url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/ # 分叉和编辑的链接
# 如果存在上一篇文章和下一篇文章,则在文章底部显示 # 可用值:left | right | false post_navigation: left
# --------------------------------------------------------------- # 自定义页面设置 # 参见:https://theme-next.js.org/docs/theme-settings/custom-pages # ---------------------------------------------------------------
# 标签云设置(用于标签页面) tagcloud: min: 12 # 最小字体大小(像素) max: 30 # 最大字体大小(像素) amount: 200 # 标签总数 orderby: name # 标签排序方式 order: 1 # 排序顺序
# Google 日历 # 通过日历页面与他人分享你最近的日程。 calendar: calendar_id: <required> # 你的 Google 账户邮箱 api_key: <required> orderBy: startTime showLocation: false offsetMax: 72 # 时间范围 offsetMin: 4 # 时间范围 showDeleted: false singleEvents: true maxResults: 250
# --------------------------------------------------------------- # 其他主题设置 # 参见:https://theme-next.js.org/docs/theme-settings/miscellaneous # ---------------------------------------------------------------
# 预加载样式并为字体和插件预连接 CDN。 # 更多信息:https://www.w3.org/TR/resource-hints/#preconnect preconnect: false
# 设置文章/页面的文本对齐方式。 text_align: # 可用值:start | end | left | right | center | justify | justify-all | match-parent desktop: justify mobile: justify
# 在窄屏设备上减少内边距/外边距缩进。 mobile_layout_economy: false
# 浏览器头部面板颜色。 theme_color: light: "#222" dark: "#222"
# 覆盖浏览器的默认行为。 body_scrollbar: # 将滚动条放置在内容上方。 overlay: false # 即使内容未溢出,也为滚动条槽预留空间。 stable: false
codeblock: # 代码高亮主题 # 所有可用主题:https://theme-next.js.org/highlight/ theme: light: default dark: stackoverflow-dark prism: light: prism dark: prism-dark # 在代码块上添加复制按钮 copy_button: enable: false # 可用值:default | flat | mac style: # 折叠代码块 fold: enable: false height: 500 # 显示语言名称 language: false
back2top: enable: true # 在侧边栏中显示“回到顶部”。 sidebar: false # 在回到顶部按钮中显示滚动百分比标签。 scrollpercent: false
# 阅读进度条 reading_progress: enable: false # 可用值:left | right start_at: left # 可用值:top | bottom position: top reversed: false color: "#37c6c0" height: 3px
# 书签支持 bookmark: enable: false # 自定义书签颜色。 color: "#222" # 如果设置为 auto,关闭页面或点击书签图标时保存阅读进度。 # 如果设置为 manual,仅通过点击书签图标保存。 save: auto
# 右上角的“在 GitHub 上关注我”横幅。 github_banner: enable: false permalink: https://github.com/yourname
# --------------------------------------------------------------- # 字体设置 # --------------------------------------------------------------- # 在 Google Fonts (https://fonts.google.com) 上查找字体 # 此处设置的所有字体将具有以下样式: # light | light italic | normal | normal italic | bold | bold italic # 请注意,设置过多字体会导致网站加载缓慢 # --------------------------------------------------------------- # 推荐使用 Web 安全字体作为 `global`(以及 `title`): # Arial | Tahoma | Helvetica | Times New Roman | Courier New | Verdana | Georgia | Palatino | Garamond | Comic Sans MS | Trebuchet MS # ---------------------------------------------------------------
font: enable: false
# 字体主机的 URI,例如 https://fonts.googleapis.com(默认)。 host:
# 字体选项: # `external: true` 将从上面的 `host` 加载该字体系列。 # `family: Times New Roman`。不要加引号。 # `size: x.x`。使用 `em` 作为单位。默认值:1(16px)
# 用于 <body> 内所有元素的全局字体设置。 global: external: true family: Lato size:
# 站点标题 (.site-title) 的字体设置。 title: external: true family: size:
# 标题(<h1> 到 <h6>)的字体设置。 headings: external: true family: size:
# 文章正文 (.post-body) 的字体设置。 posts: external: true family:
# <code> 和代码块的字体设置。 codes: external: true family:
# --------------------------------------------------------------- # SEO 设置 # 参见:https://theme-next.js.org/docs/theme-settings/seo # ---------------------------------------------------------------
# 如果为 true,站点副标题将添加到首页标题中。 # 请确保在 Hexo `_config.yml` 中设置了站点副标题(例如 subtitle: Subtitle) index_with_subtitle: false
# 自动为外部 URL 添加 Base64 加密和解密。 exturl: false # 如果为 true,每个外部 URL 后面会附加一个图标。 exturl_icon: true
# Google Webmaster 工具验证。 # 参见:https://developers.google.com/search google_site_verification:
# Bing Webmaster 工具验证。 # 参见:https://www.bing.com/webmasters bing_site_verification:
# Yandex Webmaster 工具验证。 # 参见:https://webmaster.yandex.ru yandex_site_verification:
# Baidu Webmaster 工具验证。 # 参见:https://ziyuan.baidu.com/site baidu_site_verification:
# --------------------------------------------------------------- # 标签插件设置 # 参见:https://theme-next.js.org/docs/tag-plugins/ # ---------------------------------------------------------------
# Note 标签(bootstrap callout) note: # Note 标签样式值: # - simple 旧的 bootstrap callout 警告样式。默认。 # - modern 新的(v2-v3)bootstrap callout 警告样式。 # - flat 带有背景的平面 callout 样式,类似于 Mozilla 或 StackOverflow。 # - disabled 禁用所有 note 标签的 CSS 样式导入。 style: simple icons: false # 针对 modern 和 flat 样式的背景亮度偏移百分比(modern: -12 | 12; flat: -18 | 6)。 # 该偏移量也适用于 label 标签变量。此选项可与禁用的 note 标签一起使用。 light_bg_offset: 0
# Tabs 标签 tabs: # 使内容较长的标签页的导航栏固定在顶部。 sticky: false transition: tabs: false labels: true
# PDF 标签 # NexT 会尝试原生加载 pdf 文件,如果失败,则使用 pdf.js。 # 因此,如果你想使用 pdf 标签并使其在所有浏览器中可用,必须安装 pdf.js 的依赖。 # 依赖:https://github.com/next-theme/theme-next-pdf pdf: enable: false # 默认高度 height: 500px
# Mermaid 标签 mermaid: enable: false # 可用主题:default | dark | forest | neutral theme: light: default dark: dark
# WaveDrom 标签 wavedrom: enable: false
# --------------------------------------------------------------- # 第三方插件与服务设置 # 参见:https://theme-next.js.org/docs/third-party-services/ # 更多插件:https://github.com/next-theme/awesome-next # ---------------------------------------------------------------
# --------------------------------------------------------------- # 数学公式渲染支持 # 参见:https://theme-next.js.org/docs/third-party-services/math-equations # 警告:请根据文档安装/卸载相关渲染器。 # 服务端插件:https://github.com/next-theme/hexo-filter-mathjax # ---------------------------------------------------------------
math: # 默认(false)将按需加载 mathjax/katex 脚本。 # 即仅渲染那些 front-matter 中包含 `mathjax: true` 的页面。 # 如果设置为 true,则每个页面都会加载 mathjax/katex 脚本。 every_page: false
mathjax: enable: false # 可用值:none | ams | all tags: none
katex: enable: false # 参见:https://github.com/KaTeX/KaTeX/tree/master/contrib/copy-tex copy_tex: false
# --------------------------------------------------------------- # 外部库 # 参见:https://theme-next.js.org/docs/third-party-services/external-libraries # ---------------------------------------------------------------
# 轻松在你的网站上启用快速 Ajax 导航。 # 更多信息:https://github.com/next-theme/pjax pjax: false
# FancyBox 是一个为图片提供优雅缩放功能的工具。 # 更多信息:https://fancyapps.com/fancybox/ fancybox: false
# Medium Zoom 是一个用于像 Medium 那样缩放图片的 JavaScript 库。 # 警告:不要同时启用 `fancybox` 和 `mediumzoom`。 # 更多信息:https://medium-zoom.francoischalifour.com mediumzoom: false
# 用于懒加载图片的 Vanilla JavaScript 插件。 # 更多信息:https://apoorv.pro/lozad.js/demo/ lazyload: false
# 自动在中文字符和半角字符之间插入空格。 # 更多信息:https://github.com/vinta/pangu.js # 服务端插件:https://github.com/next-theme/hexo-pangu pangu: false
# 根据用户视口中的内容预取链接。 # 更多信息:https://getquick.link # Front-matter 变量(不支持首页和归档页) quicklink: enable: false
# 首页和归档页可通过下面的 home 和 archive 选项单独控制。 # 此配置项独立于 `enable`。 home: false archive: false
# 默认(true)将在加载事件触发后初始化 quicklink。 delay: true # 自定义浏览器执行预取的超时时间(毫秒)。 timeout: 3000 # 默认(true)将尝试使用 fetch() API(如果支持),而不是 link[rel=prefetch]。 priority: true
# --------------------------------------------------------------- # 动画设置 # ---------------------------------------------------------------
# 使用 Animate.css 为所有元素添加动画。 # 更多信息:https://animate.style motion: enable: true async: false duration: 200 transition: # 所有可用的过渡变体:https://theme-next.js.org/animate/ menu_item: fadeInDown post_block: fadeIn post_header: fadeInDown post_body: fadeInDown coll_header: fadeInLeft # 仅适用于 Pisces | Gemini。 sidebar: fadeInUp
# 页面加载时顶部的进度条。 # 更多信息:https://github.com/CodeByZach/pace pace: enable: false # 所有可用颜色: # black | blue | green | orange | pink | purple | red | silver | white | yellow color: blue # 所有可用主题: # big-counter | bounce | barber-shop | center-atom | center-circle | center-radar | center-simple # corner-indicator | fill-left | flat-top | flash | loading-bar | mac-osx | material | minimal theme: minimal
# 在你的网站中使用 HTML5 canvas 生成一条彩带。 # 更多信息:https://github.com/hustcc/ribbon.js canvas_ribbon: enable: false size: 300 # 彩带的宽度 alpha: 0.6 # 彩带的透明度 zIndex: -1 # 彩带的显示层级
# --------------------------------------------------------------- # 评论设置 # 参见:https://theme-next.js.org/docs/third-party-services/comments # 更多评论系统插件:https://github.com/next-theme/awesome-next/blob/main/README.md#comment # ---------------------------------------------------------------
# 多评论系统支持 comments: # 可用值:tabs | buttons style: tabs # 选择默认显示的评论系统。 # 可用值:disqus | disqusjs | livere | gitalk | utterances | isso active: # 设置为 `true` 表示记住访客选择的评论系统。 storage: true # 懒加载所有评论系统。 lazyload: false # 修改任意导航的文本或顺序,示例如下。 nav: #disqus: # text: 加载 Disqus # order: -1 #gitalk: # order: -2
# Disqus # 更多信息:https://disqus.com disqus: enable: false shortname: count: true
# DisqusJS # 更多信息:https://disqusjs.skk.moe disqusjs: enable: false # Disqus API 的 API 端点(https://disqus.com/api/docs/)。 # 如果你能连接到 Disqus API,请留空 api。否则你需要一个反向代理。 # 例如: # api: https://disqus.skk.moe/disqus/ api: apikey: # 从 https://disqus.com/api/applications/ 注册新应用 shortname: # 参见:https://disqus.com/admin/settings/general/
# LiveRe 评论系统 # 你可以从 https://livere.com/insight/myCode(通用网站)获取你的 uid livere_uid: # <your_uid>
# Gitalk # 更多信息:https://gitalk.github.io gitalk: enable: false github_id: # GitHub 仓库所有者 repo: # 用于存储 issues 的仓库名称 client_id: # GitHub 应用 Client ID client_secret: # GitHub 应用 Client Secret admin_user: # GitHub 仓库所有者和协作者,只有这些人可以初始化 GitHub issues distraction_free_mode: true # 类似 Facebook 的无干扰模式 # 当官方代理不可用时,你可以将其更改为自己的代理地址 proxy: https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token # 这是官方代理地址 # Gitalk 的显示语言取决于用户的浏览器或系统环境 # 如果你希望所有访问你网站的人都看到统一的语言,可以设置一个强制语言值 # 可用值:en | es-ES | fr | ru | zh-CN | zh-TW language: # 如果你想自定义初始化 Issue 的内容,请编辑 body 参数。 # 例如: # body: 文章 ${title} 的评论,参见 ${url} body:
# Utterances # 更多信息:https://utteranc.es utterances: enable: false repo: user-name/repo-name # GitHub 仓库所有者和名称 # 可用值:pathname | url | title | og:title issue_term: pathname # 可用值:github-light | github-dark | preferred-color-scheme | github-dark-orange | icy-dark | dark-blue | photon-dark | boxy-light theme: github-light
# Isso # 更多信息:https://isso-comments.de isso: # <data_isso>
# --------------------------------------------------------------- # 文章小部件和内容分享服务 # 参见:https://theme-next.js.org/docs/third-party-services/post-widgets # ---------------------------------------------------------------
# AddToAny 分享。参见:https://www.addtoany.com addtoany: enable: false # 示例:bottons: [facebook, twitter] buttons:
# --------------------------------------------------------------- # 统计与分析 # 参见:https://theme-next.js.org/docs/third-party-services/statistics-and-analytics # ---------------------------------------------------------------
# Google Analytics # 参见:https://analytics.google.com google_analytics: tracking_id: # <app_id> # 默认情况下,NexT 会在你的网站上加载一个外部的 gtag.js 脚本。 # 如果你只需要页面浏览功能,请将以下选项设置为 true 以获得更好的性能。 only_pageview: false # 仅当使用 `only_pageview` 模式时需要,参见:https://developers.google.com/analytics/devguides/collection/protocol/ga4 measure_protocol_api_secret:
# Baidu Analytics # 参见:https://tongji.baidu.com baidu_analytics: # <app_id>
# Cloudflare Web Analytics # 参见:https://www.cloudflare.com/web-analytics/ cloudflare_analytics:
# Microsoft Clarity Analytics # 参见:https://clarity.microsoft.com/ clarity_analytics: # <project_id>
# Matomo Analytics # 参见:https://matomo.org/ matomo: enable: false server_url: # https://www.example.com/ site_id: # <your site id>
# Umami Analytics # 参见:https://umami.is/ umami: enable: false script_url: # https://umami.example.com/script.js website_id: # <your website id> host_url: # <your umami site url>
# Plausible Analytics # 参见:https://plausible.io/ plausible: enable: false script_url: # https://plausible.io/js/script.js site_domain: # www.example.com
# 另一个用于显示每篇文章访问者数量的工具。 # 访问 https://console.firebase.google.com/u/0/ 获取 apiKey 和 projectId。 # 访问 https://firebase.google.com/docs/firestore/ 获取更多关于 firestore 的信息。 firestore: enable: false collection: articles # 必需,用于访问 firestore 数据库的集合名称字符串 apiKey: # 必需 projectId: # 必需
# 使用 busuanzi 显示网站/页面的访问量/访客数。 # 更多信息:http://ibruce.info/2015/04/04/busuanzi/ busuanzi_count: enable: false total_visitors: true total_visitors_icon: fa fa-user total_views: true total_views_icon: fa fa-eye post_views: true post_views_icon: far fa-eye
# --------------------------------------------------------------- # 搜索服务 # 参见:https://theme-next.js.org/docs/third-party-services/search-services # ---------------------------------------------------------------
# Algolia 搜索 # 更多信息:https://www.algolia.com algolia_search: enable: false hits: per_page: 10
# 本地搜索 # 依赖:https://github.com/next-theme/hexo-generator-searchdb local_search: enable: false # 每篇文章显示前 n 条结果,设置为 -1 显示全部结果 top_n_per_article: 1 # 将 HTML 字符串反转义为可读形式。 unescape: false # 在页面加载时预加载搜索数据。 preload: false
# --------------------------------------------------------------- # 聊天服务 # 参见:https://theme-next.js.org/docs/third-party-services/chat-services # ---------------------------------------------------------------
# 在侧边栏中打开指定聊天小部件的按钮。 # 首先,你需要启用并配置聊天服务。 chat: enable: false icon: fa fa-comment # Font Awesome 中的图标名称,设置为 `false` 可禁用图标。
# Chatra 是一个功能强大且易于使用的网站聊天软件。 # 更多信息:https://chatra.com # 控制台:https://app.chatra.io/settings/general chatra: enable: false async: true id: # 访问控制台获取你的 ChatraID #embed: # 针对开发者的未完成实验性功能。参见:https://chatra.com/help/api/#injectto
# Tidio 是一个强大的全功能客户服务工具。 # 更多信息:https://www.tidio.com # 控制台:https://www.tidio.com/panel/dashboard tidio: enable: false key: # 公钥,从控制台获取。参见:https://www.tidio.com/panel/settings/developer
# --------------------------------------------------------------- # CDN 设置 # 参见:https://theme-next.js.org/docs/advanced-settings/vendors # ---------------------------------------------------------------
vendors: # NexT 内部脚本的 CDN 提供商。 # 可用值:local | jsdelivr | unpkg | cdnjs | custom # 警告:如果你使用的是 NexT 的最新 master 分支,请设置 `internal: local` internal: local # 第三方插件的默认 CDN 提供商。 # 可用值:local | jsdelivr | unpkg | cdnjs | custom # `plugins: local` 的依赖:https://github.com/next-theme/plugins plugins: cdnjs # 自定义 CDN URL # 例如: # custom_cdn_url: https://cdn.jsdelivr.net/npm/${npm_name}@${version}/${minified} # custom_cdn_url: https://cdnjs.cloudflare.com/ajax/libs/${cdnjs_name}/${version}/${cdnjs_file} custom_cdn_url:
# 资源 # 使用 CDN 加速静态文件传输 # 只有当 vendors.internal 为 local 时,js 选项才有效。 css: css js: js images: images
|