_config.fluid.yml 35 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010
  1. ---
  2. #---------------------------
  3. # Hexo Theme Fluid
  4. # Author: Fluid-dev
  5. # Github: https://github.com/fluid-dev/hexo-theme-fluid
  6. #
  7. # 配置指南: https://hexo.fluid-dev.com/docs/guide/
  8. # 你可以从指南中获得更详细的说明
  9. #
  10. # Guide: https://hexo.fluid-dev.com/docs/en/guide/
  11. # You can get more detailed help from the guide
  12. #---------------------------
  13. #---------------------------
  14. # 全局
  15. # Global
  16. #---------------------------
  17. # 用于浏览器标签的图标
  18. # Icon for browser tab
  19. favicon: /img/favicon.png
  20. # 用于苹果设备的图标
  21. # Icon for Apple touch
  22. apple_touch_icon: /img/favicon.png
  23. # 浏览器标签页中的标题分隔符,效果: 文章名 - 站点名
  24. # Title separator in browser tab, eg: article - site
  25. tab_title_separator: " - "
  26. # 强制所有链接升级为 HTTPS(适用于图片等资源出现 HTTP 混入报错)
  27. # Force all links to be HTTPS (applicable to HTTP mixed error)
  28. force_https: true
  29. # 代码块的增强配置
  30. # Enhancements to code blocks
  31. code:
  32. # 是否开启复制代码的按钮
  33. # Enable copy code button
  34. copy_btn: true
  35. # 代码高亮
  36. # Code highlight
  37. highlight:
  38. enable: true
  39. # 代码块是否显示行号
  40. # If true, the code block display line numbers
  41. line_number: true
  42. # 实现高亮的库,对应下面的设置
  43. # Highlight library
  44. # Options: highlightjs | prismjs
  45. lib: "highlightjs"
  46. highlightjs:
  47. # 在链接中挑选 style 填入
  48. # Select a style in the link
  49. # See: https://highlightjs.org/static/demo/
  50. style: "Github Gist"
  51. # 是否根据 style 改变代码背景色(如果 style 是深色背景别忘了开启此项)
  52. # If true, the code background will change color based on the style (If style has a dark background, don't forget to true)
  53. bg_color: false
  54. prismjs:
  55. # 在下方链接页面右侧的圆形按钮挑选 style 填入,也可以直接填入 css 链接
  56. # Select the style button on the right side of the link page, you can also set the CSS link
  57. # See: https://prismjs.com/
  58. style: "default"
  59. # 设为 true 高亮将本地静态生成(并只支持部分 prismjs 插件),设为 false 高亮将在浏览器通过 js 生成
  60. # If true, it will be generated locally (but some prismjs plugins are not supported). If false, it will be generated via JS in the browser
  61. preprocess: true
  62. # 一些好玩的功能
  63. # Some fun features
  64. fun_features:
  65. # 为 subtitle 添加打字机效果
  66. # Typing animation for subtitle
  67. typing:
  68. enable: true
  69. # 打印速度,数字越大越慢
  70. # Typing speed, the larger the number, the slower
  71. typeSpeed: 70
  72. # 游标字符
  73. # Cursor character
  74. cursorChar: "_"
  75. # 是否循环播放效果
  76. # If true, loop animation
  77. loop: false
  78. # 为文章内容中的标题添加锚图标
  79. # Add an anchor icon to the title on the post page
  80. anchorjs:
  81. enable: true
  82. element: h1,h2,h3,h4,h5,h6
  83. placement: right
  84. # Options: hover | always | touch
  85. visible: hover
  86. # Option:§ | # | ❡
  87. icon: ""
  88. # 加载进度条
  89. # Progress bar when loading
  90. progressbar:
  91. enable: true
  92. height_px: 3
  93. color: "#29d"
  94. # See: https://github.com/rstacruz/nprogress
  95. options: { showSpinner: false, trickleSpeed: 100 }
  96. # 主题暗色模式,开启后菜单中会出现切换按钮,用户浏览器会存储切换选项,并且会遵循 prefers-color-scheme 自动切换
  97. # Theme dark mode. If enable, a switch button will appear on the menu, each of the visitor's browser will store his switch option
  98. dark_mode:
  99. enable: false
  100. # 默认的选项(当用户手动切换后则不再按照默认模式),选择 `auto` 会优先遵循 prefers-color-scheme,其次按用户本地时间 18 点到次日 6 点之间进入暗色模式
  101. # Default option (when the visitor switches manually, the default mode is no longer followed), choosing `auto` will give priority to prefers-color-scheme, and then enter the dark mode from 18:00 to 6:00 in the visitor’s local time
  102. # Options: auto | light | dark
  103. default: auto
  104. # 主题颜色配置,其他不生效的地方请使用自定义 css 解决,配色可以在下方链接中获得启发
  105. # Theme color, please use custom CSS to solve other colors, color schema can be inspired by the links below
  106. # See: https://www.webdesignrankings.com/resources/lolcolors/
  107. color:
  108. # body 背景色
  109. # Color of body background
  110. body_bg_color: "#eee"
  111. # 暗色模式下的 body 背景色,下同
  112. # Color in dark mode, the same below
  113. body_bg_color_dark: "#181c27"
  114. # 顶部菜单背景色
  115. # Color of navigation bar background
  116. navbar_bg_color: "#2f4154"
  117. navbar_bg_color_dark: "#1f3144"
  118. # 顶部菜单字体色
  119. # Color of navigation bar text
  120. navbar_text_color: "#fff"
  121. navbar_text_color_dark: "#d0d0d0"
  122. # 全局字体色
  123. # Color of global text
  124. text_color: "#3c4858"
  125. text_color_dark: "#c4c6c9"
  126. # 全局次级字体色(摘要、简介等位置)
  127. # Color of global secondary text (excerpt, introduction, etc.)
  128. sec_text_color: "#718096"
  129. sec_text_color_dark: "#a7a9ad"
  130. # 文章正文字体色
  131. # Color of post text
  132. post_text_color: "#2c3e50"
  133. post_text_color_dark: "#c4c6c9"
  134. # 文章正文字体色(h1 h2 h3...)
  135. # Color of Article heading (h1 h2 h3...)
  136. post_heading_color: "#1a202c"
  137. post_heading_color_dark: "#c4c6c9"
  138. # 文章超链接字体色
  139. # Color of post link
  140. post_link_color: "#0366d6"
  141. post_link_color_dark: "#1589e9"
  142. # 超链接悬浮时字体色
  143. # Color of link when hovering
  144. link_hover_color: "#30a9de"
  145. link_hover_color_dark: "#30a9de"
  146. # 超链接悬浮背景色
  147. # Color of link background when hovering
  148. link_hover_bg_color: "#f8f9fa"
  149. link_hover_bg_color_dark: "#364151"
  150. # 主面板背景色
  151. # Color of main board
  152. board_color: "#fff"
  153. board_color_dark: "#252d38"
  154. # 滚动条颜色
  155. # Color of scrollbar
  156. scrollbar_color: "#c4c6c9"
  157. scrollbar_color_dark: "#687582"
  158. scrollbar_hover_color: "#a6a6a6"
  159. scrollbar_hover_color_dark: "#9da8b3"
  160. # 主题字体配置
  161. # Font
  162. font:
  163. font_size: 16px
  164. font_family:
  165. letter_spacing: 0.02em
  166. code_font_size: 85%
  167. # 指定自定义 .js 文件路径,支持列表;路径是相对 source 目录,如 /js/custom.js 对应存放目录 source/js/custom.js
  168. # Specify the path of your custom js file, support list. The path is relative to the source directory, such as `/js/custom.js` corresponding to the directory `source/js/custom.js`
  169. custom_js:
  170. # 指定自定义 .css 文件路径,用法和 custom_js 相同
  171. # The usage is the same as custom_js
  172. custom_css:
  173. # 自定义 <head> 节点中的 HTML 内容
  174. # Customize <head> HTML content
  175. custom_head: ""
  176. # 自定义底部 HTML 内容(位于 footer 上方),注意不要和 `post: custom` 配置冲突
  177. # Customize the HTML content at the bottom (located above the footer), be careful not to conflict with `post: custom`
  178. custom_html: ""
  179. # 网页访问统计
  180. # Analysis of website visitors
  181. web_analytics: # 网页访问统计
  182. enable: false
  183. # 百度统计的 Key,值需要获取下方链接中 `hm.js?` 后边的字符串
  184. # Baidu analytics, get the string behind `hm.js?`
  185. # See: https://tongji.baidu.com/sc-web/10000033910/home/site/getjs?siteId=13751376
  186. baidu:
  187. # Google 统计的 Tracking ID
  188. # Google analytics, set Tracking ID
  189. # See: https://developers.google.com/analytics/devguides/collection/analyticsjs
  190. google:
  191. # Google gtag.js 的媒体资源 ID
  192. # Google gtag.js GA_MEASUREMENT_ID
  193. # See: https://developers.google.com/analytics/devguides/collection/gtagjs/
  194. gtag:
  195. # 腾讯统计的 H5 App ID,开启高级功能才有cid
  196. # Tencent analytics, set APP ID
  197. # See: https://mta.qq.com/h5/manage/ctr_app_manage
  198. tencent:
  199. sid:
  200. cid:
  201. # 51.la 站点统计 ID
  202. # 51.la analytics
  203. # See: https://www.51.la/user/site/index
  204. woyaola: # 51.la 站点统计 ID,参见
  205. # 友盟/cnzz 站点统计 web_id
  206. # cnzz analytics
  207. # See: https://web.umeng.com/main.php?c=site&a=show
  208. cnzz:
  209. # LeanCloud 计数统计,可用于 PV UV 展示,如果 `web_analytics: enable` 没有开启,PV UV 展示只会查询不会增加
  210. # LeanCloud count statistics, which can be used for PV UV display. If `web_analytics: enable` is false, PV UV display will only query and not increase
  211. leancloud:
  212. app_id:
  213. app_key:
  214. # REST API 服务器地址,国际版不填
  215. # Only the Chinese mainland users need to set
  216. server_url:
  217. # 统计页面时获取路径的属性
  218. # Get the attribute of the page path during statistics
  219. path: window.location.pathname
  220. # 开启后不统计本地路径( localhost 与 127.0.0.1 )
  221. # If ture, ignore localhost & 127.0.0.1
  222. ignore_local: false
  223. # 对页面中的图片和评论插件进行懒加载处理,可见范围外的元素不会提前加载
  224. # Lazy loading of images and comment plugin on the page
  225. lazyload:
  226. enable: true
  227. # 加载时的占位图片
  228. # The placeholder image when loading
  229. loading_img: /img/loading.gif
  230. # 开启后懒加载仅在文章页生效,如果自定义页面需要使用,可以在 Front-matter 里指定 `lazyload: true`
  231. # If true, only enable lazyload on the post page. For custom pages, you can set 'lazyload: true' in front-matter
  232. onlypost: false
  233. # 触发加载的偏移倍数,基数是视窗高度,可根据部署环境的请求速度调节
  234. # The factor of viewport height that triggers loading
  235. offset_factor: 2
  236. # 图标库,包含了大量社交类图标,主题依赖的不包含在内,因此可自行修改,详见 https://hexo.fluid-dev.com/docs/icon/
  237. # Icon library, which includes many social icons, does not include those theme dependent, so your can modify link by yourself. See: https://hexo.fluid-dev.com/docs/en/icon/
  238. iconfont: //at.alicdn.com/t/font_1736178_lbnruvf0jn.css
  239. #---------------------------
  240. # 页头
  241. # Header
  242. #---------------------------
  243. # 导航栏的相关配置
  244. # Navigation bar
  245. navbar:
  246. # 导航栏左侧的标题,为空则按 hexo config 中 `title` 显示
  247. # The title on the left side of the navigation bar. If empty, it is based on `title` in hexo config
  248. blog_title: ""
  249. # 导航栏毛玻璃特效,实验性功能,可能会造成页面滚动掉帧和抖动,部分浏览器不支持会自动不生效
  250. # Navigation bar frosted glass special animation. It is an experimental feature
  251. ground_glass:
  252. enable: false
  253. # 模糊像素,只能为数字,数字越大模糊度越高
  254. # Number of blurred pixel. the larger the number, the higher the blur
  255. px: 3
  256. # 不透明度,数字越大透明度越低,注意透明过度可能看不清菜单字体
  257. # Ratio of opacity, 1.0 is completely opaque
  258. # available: 0 - 1.0
  259. alpha: 0.7
  260. # 导航栏菜单,可自行增减,key 用来关联 languages/*.yml,如不存在关联则显示 key 本身的值;icon 是 css class,可以省略;增加 name 可以强制显示指定名称
  261. # Navigation bar menu. `key` is used to associate languages/*.yml. If there is no association, the value of `key` itself will be displayed; if `icon` is a css class, it can be omitted; adding `name` can force the display of the specified name
  262. menu:
  263. - { key: "home", link: "/", icon: "iconfont icon-home-fill" }
  264. - { key: "archive", link: "/archives/", icon: "iconfont icon-archive-fill" }
  265. - {
  266. key: "category",
  267. link: "/categories/",
  268. icon: "iconfont icon-category-fill",
  269. }
  270. - { key: "tag", link: "/tags/", icon: "iconfont icon-tags-fill" }
  271. - { key: "about", link: "/about/", icon: "iconfont icon-user-fill" }
  272. - { key: "links", link: "/links/", icon: "iconfont icon-link-fill" }
  273. # 搜索功能,基于 hexo-generator-search 插件,若已安装其他搜索插件请关闭此功能,以避免生成多余的索引文件
  274. # Search feature, based on hexo-generator-search. If you have installed other search plugins, please disable this feature to avoid generating redundant index files
  275. search:
  276. enable: true
  277. # 搜索索引文件的路径,可以是相对路径或外站的绝对路径
  278. # Path for search index file, it can be a relative path or an absolute path
  279. path: /local-search.xml
  280. # 文件生成在本地的位置,必须是相对路径
  281. # The location where the index file is generated locally, it must be a relative location
  282. generate_path: /local-search.xml
  283. # 搜索的范围
  284. # Search field
  285. # Options: post | page | all
  286. field: post
  287. # 搜索是否扫描正文
  288. # If true, search will scan the post content
  289. content: true
  290. # 首屏图片的相关配置
  291. # Config of the big image on the first screen
  292. banner:
  293. # 视差滚动,图片与板块会随着屏幕滚动产生视差效果
  294. # Scrolling parallax
  295. parallax: true
  296. # 图片最小的宽高比,以免图片两边被过度裁剪,适用于移动端竖屏时,如需关闭设为 0
  297. # Minimum ratio of width to height, applicable to the vertical screen of mobile device, if you need to close it, set it to 0
  298. width_height_ratio: 1.0
  299. # 向下滚动的箭头
  300. # Scroll down arrow
  301. scroll_down_arrow:
  302. enable: true
  303. # 头图高度不小于指定比例,才显示箭头
  304. # Only the height of the banner image is greater than the ratio, the arrow is displayed
  305. # Available: 0 - 100
  306. banner_height_limit: 80
  307. # 翻页后自动滚动
  308. # Auto scroll after page turning
  309. scroll_after_turning_page: true
  310. # 向顶部滚动的箭头
  311. # Scroll top arrow
  312. scroll_top_arrow:
  313. enable: true
  314. # Open Graph metadata
  315. # See: https://hexo.io/docs/helpers.html#open-graph
  316. open_graph:
  317. enable: true
  318. twitter_card: summary_large_image
  319. twitter_id:
  320. twitter_site:
  321. google_plus:
  322. fb_admins:
  323. fb_app_id:
  324. #---------------------------
  325. # 页脚
  326. # Footer
  327. #---------------------------
  328. footer:
  329. # 页脚第一行文字的 HTML,建议保留 Fluid 的链接,用于向更多人推广本主题
  330. # HTML of the first line of the footer, it is recommended to keep the Fluid link to promote this theme to more people
  331. content: '
  332. <span>Copyright © 2017-2024 RegMs If.</span>
  333. <a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a>
  334. <i class="iconfont icon-love"></i>
  335. <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a>
  336. '
  337. # 展示网站的 PV、UV 统计数
  338. # Display website PV and UV statistics
  339. statistics:
  340. enable: false
  341. # 统计数据来源,使用 leancloud 需要设置 `web_analytics: leancloud` 中的参数;使用 busuanzi 不需要额外设置,但是有时不稳定,另外本地运行时 busuanzi 显示统计数据很大属于正常现象,部署后会正常
  342. # Data source. If use leancloud, you need to set the parameter in `web_analytics: leancloud`
  343. # Options: busuanzi | leancloud
  344. source: "busuanzi"
  345. # 页面显示的文本,{}是数字的占位符(必须包含),下同
  346. # Displayed text, {} is a placeholder for numbers (must be included), the same below
  347. pv_format: "总访问量 {} 次"
  348. uv_format: "总访客数 {} 人"
  349. # 国内大陆服务器的备案信息
  350. # For Chinese mainland website policy, other areas keep disable
  351. beian:
  352. enable: false
  353. # ICP证号
  354. icp_text: 京ICP证123456号
  355. # 公安备案号,不填则只显示ICP
  356. police_text: 京公网安备12345678号
  357. # 公安备案的编号,用于URL跳转查询
  358. police_code: 12345678
  359. # 公安备案的图片. 为空时不显示备案图片
  360. police_icon: /img/police_beian.png
  361. #---------------------------
  362. # 首页
  363. # Home Page
  364. #---------------------------
  365. index:
  366. # 首页 Banner 头图,可以是相对路径或绝对路径,以下相同
  367. # Path of Banner image, can be a relative path or an absolute path, the same on other pages
  368. banner_img: /img/default.png
  369. # 头图高度,屏幕百分比
  370. # Height ratio of banner image
  371. # Available: 0 - 100
  372. banner_img_height: 100
  373. # 头图黑色蒙版的不透明度,available: 0 - 1.0, 1 是完全不透明
  374. # Opacity of the banner mask, 1.0 is completely opaque
  375. # Available: 0 - 1.0
  376. banner_mask_alpha: 0.3
  377. # 首页副标题的独立设置
  378. # Independent config of home page subtitle
  379. slogan:
  380. enable: true
  381. # 为空则按 hexo config.subtitle 显示
  382. # If empty, text based on `subtitle` in hexo config
  383. text: ""
  384. # 通过 API 接口作为首页副标题的内容,必须返回的是 JSON 格式,如果请求失败则按 text 字段显示,该功能必须先开启 typing 打字机功能
  385. # Subtitle of the homepage through the API, must be returned a JSON. If the request fails, it will be displayed in `text` value. This feature must first enable the typing animation
  386. api:
  387. enable: false
  388. # 请求地址
  389. # Request url
  390. url: ""
  391. # 请求方法
  392. # Request method
  393. # Available: GET | POST | PUT
  394. method: "GET"
  395. # 请求头
  396. # Request headers
  397. headers: {}
  398. # 从请求结果获取字符串的取值字段,最终必须是一个字符串,例如返回结果为 {"data": {"author": "fluid", "content": "An elegant theme"}}, 则取值字段为 ['data', 'content'];如果返回是列表则自动选择第一项
  399. # The value field of the string obtained from the response. For example, the response content is {"data": {"author": "fluid", "content": "An elegant theme"}}, the expected `keys: ['data','content']`; if the return is a list, the first item is automatically selected
  400. keys: []
  401. # 自动截取文章摘要
  402. # Auto extract post
  403. auto_excerpt:
  404. enable: true
  405. # 打开文章的标签方式
  406. # The browser tag to open the post
  407. # Available: _blank | _self
  408. post_url_target: _self
  409. # 是否显示文章信息(时间、分类、标签)
  410. # Meta information of post
  411. post_meta:
  412. date: true
  413. category: true
  414. tag: true
  415. # 文章通过 sticky 排序后,在首页文章标题前显示图标
  416. # If the posts are sorted by `sticky`, an icon is displayed in front of the post title
  417. post_sticky:
  418. enable: true
  419. icon: "iconfont icon-top"
  420. #---------------------------
  421. # 文章页
  422. # Post Page
  423. #---------------------------
  424. post:
  425. banner_img: /img/default.png
  426. banner_img_height: 70
  427. banner_mask_alpha: 0.3
  428. # 文章在首页的默认封面图,当没有指定 index_img 时会使用该图片,若两者都为空则不显示任何图片
  429. # Path of the default post cover when `index_img` is not set. If both are empty, no image will be displayed
  430. default_index_img:
  431. # 文章标题下方的元信息
  432. # Meta information below title
  433. meta:
  434. # 作者,优先根据 front-matter 里 author 字段,其次是 hexo 配置中 author 值
  435. # Author, based on `author` field in front-matter, if not set, based on `author` value in hexo config
  436. author:
  437. enable: false
  438. # 文章日期,优先根据 front-matter 里 date 字段,其次是 md 文件日期
  439. # Post date, based on `date` field in front-matter, if not set, based on create date of .md file
  440. date:
  441. enable: true
  442. # 格式参照 ISO-8601 日期格式化
  443. # ISO-8601 date format
  444. # See: http://momentjs.cn/docs/#/parsing/string-format/
  445. format: "LL a"
  446. # 字数统计
  447. # Word count
  448. wordcount:
  449. enable: true
  450. # 显示的文本,{}是数字的占位符(必须包含),下同
  451. # Displayed text, {} is a placeholder for numbers (must be included), the same below
  452. format: "{} 字"
  453. # 估计阅读全文需要的时长
  454. # Estimated reading time
  455. min2read:
  456. enable: true
  457. format: "{} 分钟"
  458. # 每个字词的长度,建议:中文≈2,英文≈5,中英混合可自行调节
  459. # Average word length (chars count in word), ZH ≈ 2, EN ≈ 5
  460. awl: 2
  461. # 每分钟阅读字数,如果大部分是技术文章可适度调低
  462. # Words per minute
  463. wpm: 60
  464. # 浏览量计数
  465. # Number of visits
  466. views:
  467. enable: false
  468. # 统计数据来源
  469. # Data Source
  470. # Options: busuanzi | leancloud
  471. source: "busuanzi"
  472. format: "{} 次"
  473. # 在文章开头显示文章更新时间,该时间默认是 md 文件更新时间,可通过 front-matter 中 `updated` 手动指定(和 date 一样格式)
  474. # Update date is displayed at the beginning of the post. The default date is the update date of the md file, which can be manually specified by `updated` in front-matter (same format as date)
  475. updated:
  476. enable: false
  477. # 描述文字
  478. # Descriptive text before date
  479. content: 本文最后更新于:
  480. # 是否使用相对时间表示,比如:"3 天前"
  481. # If true, it will be a relative time, such as: "3 days ago"
  482. relative: false
  483. # 文章右侧目录
  484. # Table of contents (TOC)
  485. toc:
  486. enable: true
  487. # 目录会选择这些节点作为标题
  488. # TOC will select these nodes as headings
  489. headingSelector: "h1,h2,h3,h4,h5,h6"
  490. # 层级的折叠深度,0 是全部折叠,大于 0 后如果存在下级标题则默认展开
  491. # Collapse depth. If 0, all headings collapsed. If greater than 0, it will be expanded by default if there are sub headings
  492. collapseDepth: 0
  493. # 版权声明,会显示在每篇文章的结尾
  494. # Copyright, will be displayed at the end of each post
  495. copyright:
  496. enable: true
  497. content: '本博客所有文章除特别声明外,均采用 <a href="https://creativecommons.org/licenses/by-sa/4.0/deed.zh" rel="nofollow noopener">CC BY-SA 4.0 协议</a> ,转载请注明出处!'
  498. # 文章底部上一篇下一篇功能
  499. # Link to previous/next post
  500. prev_next:
  501. enable: true
  502. # 文章底部自定义区域(位于 footer 上方),支持 HTML,可插入赞赏码、公众号这类内容内容
  503. # Custom content at the bottom of the post page (located above the footer)
  504. custom:
  505. enable: false
  506. content: '<img src="https://octodex.github.com/images/jetpacktocat.png" class="rounded mx-auto d-block mt-5" style="width:150px; height:150px;">'
  507. # 文章图片可点击放大
  508. # Zoom feature of images
  509. image_zoom:
  510. enable: true
  511. # 放大后图片链接替换规则,可用于将压缩图片链接替换为原图片链接,如 ['-slim', ''] 是将链接中 `-slim` 移除;如果想使用正则请使用 `re:` 前缀,如 ['re:\\d{3,4}\\/\\d{3,4}\\/', '']
  512. # The image url replacement when zooming, the feature can be used to replace the compressed image to the original image, eg: ['-slim', ''] removes `-slim` from the image url when zooming; if you want to use regular, use prefix `re:`, eg: ['re:\\d{3,4}\\/\\d{3,4}\\/','']
  513. img_url_replace: ["", ""]
  514. # 脚注语法,会在文章底部生成脚注,如果 Markdown 渲染器本身支持,则建议关闭,否则可能会冲突
  515. # Support footnote syntax, footnotes will be generated at the bottom of the post page. If the Markdown renderer itself supports it, please disable it, otherwise it may conflict
  516. footnote:
  517. enable: true
  518. # 脚注的节标题,也可以在 front-matter 中通过 `footnote: <h2>Reference</h2>` 这种形式修改单独页面的 header
  519. # The section title of the footnote, you can also modify the header of a single page in the form of `footnote: <h2>Reference</h2>` in front-matter
  520. header: ""
  521. # 数学公式,开启之前需要更换 Markdown 渲染器,否则复杂公式会有兼容问题,具体请见:https://hexo.fluid-dev.com/docs/guide/##latex-数学公式
  522. # Mathematical formula. If enable, you need to change the Markdown renderer, see: https://hexo.fluid-dev.com/docs/en/guide/#math
  523. math:
  524. # 开启后文章默认可用,自定义页面如需使用,需在 Front-matter 中指定 `math: true`
  525. # If you want to use math on the custom page, you need to set `math: true` in Front-matter
  526. enable: true
  527. # 开启后,只有在文章 Front-matter 里指定 `math: true` 才会在文章页启动公式转换,以便在页面不包含公式时提高加载速度
  528. # If true, only set `math: true` in Front-matter will enable math, to load faster when the page does not contain math
  529. specific: false
  530. # Options: mathjax | katex
  531. engine: mathjax
  532. # 流程图,基于 mermaid-js,具体请见:https://hexo.fluid-dev.com/docs/guide/#mermaid-流程图
  533. # Flow chart, based on mermaid-js, see: https://hexo.fluid-dev.com/docs/en/guide/#mermaid
  534. mermaid:
  535. # 开启后文章默认可用,自定义页面如需使用,需在 Front-matter 中指定 `mermaid: true`
  536. # If you want to use mermaid on the custom page, you need to set `mermaid: true` in Front-matter
  537. enable: false
  538. # 开启后,只有在文章 Front-matter 里指定 `mermaid: true` 才会在文章页启动公式转换,以便在页面不包含公式时提高加载速度
  539. # If true, only set `mermaid: true` in Front-matter will enable mermaid, to load faster when the page does not contain mermaid
  540. specific: false
  541. # See: http://mermaid-js.github.io/mermaid/
  542. options: { theme: "default" }
  543. # 评论插件
  544. # Comment plugin
  545. comments:
  546. enable: false
  547. # 指定的插件,需要同时设置对应插件的必要参数
  548. # The specified plugin needs to set the necessary parameters at the same time
  549. # Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis
  550. type: disqus
  551. #---------------------------
  552. # 评论插件
  553. # Comment plugins
  554. #
  555. # 开启评论需要先设置上方 `post: comments: enable: true`,然后根据 `type` 设置下方对应的评论插件参数
  556. # Enable comments need to be set `post: comments: enable: true`, then set the corresponding comment plugin parameters below according to `type`
  557. #---------------------------
  558. # Utterances
  559. # 基于 GitHub Issues
  560. # Based on GitHub Issues
  561. # See: https://utteranc.es
  562. utterances:
  563. repo:
  564. issue_term: pathname
  565. label: utterances
  566. theme: github-light
  567. theme_dark: github-dark
  568. crossorigin: anonymous
  569. # Disqus
  570. # 基于第三方的服务,国内用户直接使用容易被墙,建议配合 Disqusjs
  571. # Based on third-party service
  572. # See: https://disqus.com
  573. disqus:
  574. shortname:
  575. # 以下为 Disqusjs 支持, 国内用户如果想使用 Disqus 建议配合使用
  576. # The following are Disqusjs configurations, please ignore if DisqusJS is not required
  577. # See: https://github.com/SukkaW/DisqusJS
  578. disqusjs: false
  579. apikey:
  580. # Gitalk
  581. # 基于 GitHub Issues
  582. # Based on GitHub Issues
  583. # See: https://github.com/gitalk/gitalk#options
  584. gitalk:
  585. clientID:
  586. clientSecret:
  587. repo:
  588. owner:
  589. admin: ["name"]
  590. language: zh-CN
  591. labels: ["Gitalk"]
  592. perPage: 10
  593. pagerDirection: last
  594. distractionFreeMode: false
  595. createIssueManually: true
  596. # 默认 proxy 可能会失效,解决方法请见下方链接
  597. # The default proxy may be invalid, refer to the links for solutions
  598. # https://github.com/gitalk/gitalk/issues/429
  599. # https://github.com/Zibri/cloudflare-cors-anywhere
  600. proxy: https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token
  601. # Valine
  602. # 基于 LeanCloud
  603. # Based on LeanCloud
  604. # See: https://valine.js.org/
  605. valine:
  606. appId:
  607. appKey:
  608. path: window.location.pathname
  609. placeholder:
  610. avatar: "retro"
  611. meta: ["nick", "mail", "link"]
  612. requiredFields: []
  613. pageSize: 10
  614. lang: "zh-CN"
  615. highlight: false
  616. recordIP: false
  617. serverURLs: ""
  618. emojiCDN:
  619. emojiMaps:
  620. enableQQ: false
  621. # Waline
  622. # 从 Valine 衍生而来,额外增加了服务端和多种功能
  623. # Derived from Valine, with self-hosted service and new features
  624. # See: https://waline.js.org/
  625. waline:
  626. serverURL: ""
  627. path: window.location.pathname
  628. placeholder:
  629. meta: ["nick", "mail", "link"]
  630. requiredMeta: ["nick"]
  631. lang: "zh-CN"
  632. emoji: ["https://fastly.jsdelivr.net/gh/walinejs/emojis/weibo"]
  633. dark: 'html[data-user-color-scheme="dark"]'
  634. avatar: "retro"
  635. avatarCDN: "https://seccdn.libravatar.org/avatar/"
  636. avatarForce: false
  637. wordLimit: 0
  638. pageSize: 10
  639. highlight: true
  640. # 畅言 Changyan
  641. # 基于第三方的服务
  642. # Based on third-party service, insufficient support for regions outside China
  643. # http://changyan.kuaizhan.com
  644. changyan:
  645. appid: ""
  646. appkey: ""
  647. # 来必力 Livere
  648. # 基于第三方的服务
  649. # Based on third-party service
  650. # See: https://www.livere.com
  651. livere:
  652. uid: ""
  653. # Remark42
  654. # 需要自托管服务端
  655. # Based on self-hosted service
  656. # See: https://remark42.com
  657. remark42:
  658. host:
  659. site_id:
  660. max_shown_comments: 10
  661. locale: zh
  662. components: ["embed"]
  663. # Twikoo
  664. # 基于腾讯云开发
  665. # Based on Tencent CloudBase
  666. # See: https://twikoo.js.org
  667. twikoo:
  668. envId:
  669. region: ap-shanghai
  670. path: window.location.pathname
  671. # Cusdis
  672. # 基于第三方服务或自托管服务
  673. # Based on third-party or self-hosted service
  674. # See https://cusdis.com
  675. cusdis:
  676. host:
  677. app_id:
  678. lang: zh-cn
  679. #---------------------------
  680. # 归档页
  681. # Archive Page
  682. #---------------------------
  683. archive:
  684. banner_img: /img/default.png
  685. banner_img_height: 60
  686. banner_mask_alpha: 0.3
  687. subtitle:
  688. #---------------------------
  689. # 分类页
  690. # Category Page
  691. #---------------------------
  692. category:
  693. enable: true
  694. banner_img: /img/default.png
  695. banner_img_height: 60
  696. banner_mask_alpha: 0.3
  697. subtitle:
  698. # 分类的排序字段,前面带减号是倒序,不带减号是正序
  699. # Sort field for categories, with a minus sign is reverse order
  700. # Options: length | name
  701. order_by: "-length"
  702. # 层级的折叠深度,0 是全部折叠,大于 0 后如果存在子分类则默认展开
  703. # Collapse depth. If 0, all posts collapsed. If greater than 0, it will be expanded by default if there are subcategories
  704. collapse_depth: 0
  705. # 文章的排序字段,前面带减号是倒序,不带减号是正序
  706. # Sort field for posts, with a minus sign is reverse order
  707. # Options: date | title | or other field of front-matter
  708. post_order_by: "-date"
  709. # 单个分类中折叠展示文章数的最大值,超过限制会显示 More,0 则不限制
  710. # The maximum number of posts in a single category. If the limit is exceeded, it will be displayed More. If 0 no limit
  711. post_limit: 10
  712. #---------------------------
  713. # 标签页
  714. # Tag Page
  715. #---------------------------
  716. tag:
  717. enable: true
  718. banner_img: /img/default.png
  719. banner_img_height: 80
  720. banner_mask_alpha: 0.3
  721. subtitle:
  722. tagcloud:
  723. min_font: 15
  724. max_font: 30
  725. unit: px
  726. start_color: "#BBBBEE"
  727. end_color: "#337ab7"
  728. #---------------------------
  729. # 关于页
  730. # About Page
  731. #---------------------------
  732. about:
  733. enable: true
  734. banner_img: /img/default.png
  735. banner_img_height: 60
  736. banner_mask_alpha: 0.3
  737. subtitle:
  738. avatar: /img/avatar.jpg
  739. name: "RegMs If"
  740. intro: "418 I'm a Teapot"
  741. # 更多图标可从 https://hexo.fluid-dev.com/docs/icon/ 查找,`class` 代表图标的 css class,添加 `qrcode` 后,图标不再是链接而是悬浮二维码
  742. # More icons can be found from https://hexo.fluid-dev.com/docs/en/icon/ `class` is the css class of the icon. If adding `qrcode`, The icon is no longer a link, but a hovering QR code
  743. icons:
  744. - {
  745. class: "iconfont icon-github-fill",
  746. link: "https://github.com/regmsif",
  747. tip: "GitHub",
  748. }
  749. #---------------------------
  750. # 自定义页
  751. # Custom Page
  752. #
  753. # 通过 hexo new page 命令创建的页面
  754. # Custom Page through `hexo new page`
  755. #---------------------------
  756. page:
  757. banner_img: /img/default.png
  758. banner_img_height: 60
  759. banner_mask_alpha: 0.3
  760. #---------------------------
  761. # 404页
  762. # 404 Page
  763. #---------------------------
  764. page404:
  765. enable: true
  766. banner_img: /img/default.png
  767. banner_img_height: 85
  768. banner_mask_alpha: 0.3
  769. subtitle: "Page not found"
  770. #---------------------------
  771. # 友链页
  772. # Links Page
  773. #---------------------------
  774. links:
  775. enable: true
  776. banner_img: /img/default.png
  777. banner_img_height: 60
  778. banner_mask_alpha: 0.3
  779. subtitle:
  780. # 友链的成员项
  781. # Member item of page
  782. items:
  783. - {
  784. title: "chinakevin",
  785. intro: "zjzdl",
  786. link: "https://www.cnblogs.com/chinakevin",
  787. avatar: "/img/chinakevin.jpg",
  788. }
  789. - {
  790. title: "montreal",
  791. intro: "天下第一寝室长",
  792. link: "https://blog.moontreal.cf",
  793. avatar: "/img/montreal.jpg",
  794. }
  795. - {
  796. title: "lllllan",
  797. intro: "苏老师太强啦",
  798. link: "https://blog.lllllan.cn",
  799. avatar: "/img/lllllan.png",
  800. }
  801. # 当成员头像加载失败时,替换为指定图片
  802. # When the member avatar fails to load, replace the specified image
  803. onerror_avatar: /img/avatar.jpg
  804. # 友链下方自定义区域,支持 HTML,可插入例如申请友链的文字
  805. # Custom content at the bottom of the links
  806. custom:
  807. enable: false
  808. content: "<hr><p>在下方留言申请加入我的友链,按如下格式提供信息:</p><ul><li>博客名:Fluid</li><li>简介:Fluid 主题官方博客</li><li>链接:https://hexo.fluid-dev.com</li><li>图片:https://hexo.fluid-dev.com/img/favicon.png</li></ul>"
  809. # 评论插件
  810. # Comment plugin
  811. comments:
  812. enable: false
  813. # 指定的插件,需要同时设置对应插件的必要参数
  814. # The specified plugin needs to set the necessary parameters at the same time
  815. # Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis
  816. type: disqus
  817. #---------------------------
  818. # 以下是配置 JS CSS 等静态资源的 URL 前缀,可以自定义成 CDN 地址,
  819. # 默认的 jsDelivr CDN 可能在部分地区无法访问,如果需要修改,最好使用与默认配置相同的版本,以避免潜在的问题,
  820. # ** 如果你不知道如何设置,请不要做任何改动 **
  821. #
  822. # Here is the url prefix to configure the static assets. Set CDN addresses you want to customize.
  823. # Be aware that you would better use the same version as default ones to avoid potential problems.
  824. # DO NOT EDIT THE FOLLOWING SETTINGS UNLESS YOU KNOW WHAT YOU ARE DOING
  825. #---------------------------
  826. static_prefix:
  827. # 内部静态
  828. # Internal static
  829. internal_js: /js
  830. internal_css: /css
  831. internal_img: /img
  832. anchor: https://fastly.jsdelivr.net/npm/anchor-js@4/
  833. github_markdown: https://fastly.jsdelivr.net/npm/github-markdown-css@4/
  834. jquery: https://fastly.jsdelivr.net/npm/jquery@3/dist/
  835. bootstrap: https://fastly.jsdelivr.net/npm/bootstrap@4/dist/
  836. highlightjs: https://fastly.jsdelivr.net/npm/highlight.js@10/
  837. prismjs: https://fastly.jsdelivr.net/npm/prismjs@1/
  838. tocbot: https://fastly.jsdelivr.net/npm/tocbot@4/dist/
  839. typed: https://fastly.jsdelivr.net/npm/typed.js@2/lib/
  840. fancybox: https://fastly.jsdelivr.net/npm/@fancyapps/fancybox@3/dist/
  841. nprogress: https://fastly.jsdelivr.net/npm/nprogress@0/
  842. mathjax: https://fastly.jsdelivr.net/npm/mathjax@3/es5/
  843. katex: https://fastly.jsdelivr.net/npm/katex@0/dist/
  844. busuanzi: https://busuanzi.ibruce.info/busuanzi/2.3/
  845. clipboard: https://fastly.jsdelivr.net/npm/clipboard@2/dist/
  846. mermaid: https://fastly.jsdelivr.net/npm/mermaid@8/dist/
  847. valine: https://fastly.jsdelivr.net/npm/valine@1/dist/
  848. waline: https://fastly.jsdelivr.net/npm/@waline/client@1/dist/
  849. gitalk: https://fastly.jsdelivr.net/npm/gitalk@1/dist/
  850. disqusjs: https://fastly.jsdelivr.net/npm/disqusjs@1/dist/
  851. twikoo: https://fastly.jsdelivr.net/npm/twikoo@1/dist/
  852. hint: https://fastly.jsdelivr.net/npm/hint.css@2/