_config.fluid.yml 38 KB

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