_config.fluid.yml 39 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126
  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: "https://hexo.limour.top/", 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. - { key: "RSS", link: "/atom.xml", icon: "iconfont icon-rss" }
  294. # 搜索功能,基于 hexo-generator-search 插件,若已安装其他搜索插件请关闭此功能,以避免生成多余的索引文件
  295. # Search feature, based on hexo-generator-search. If you have installed other search plugins, please disable this feature to avoid generating redundant index files
  296. search:
  297. enable: true
  298. # 搜索索引文件的路径,可以是相对路径或外站的绝对路径
  299. # Path for search index file, it can be a relative path or an absolute path
  300. path: /local-search.xml
  301. # 文件生成在本地的位置,必须是相对路径
  302. # The location where the index file is generated locally, it must be a relative location
  303. generate_path: /local-search.xml
  304. # 搜索的范围
  305. # Search field
  306. # Options: post | page | all
  307. field: post
  308. # 搜索是否扫描正文
  309. # If true, search will scan the post content
  310. content: true
  311. # 首屏图片的相关配置
  312. # Config of the big image on the first screen
  313. banner:
  314. # 视差滚动,图片与板块会随着屏幕滚动产生视差效果
  315. # Scrolling parallax
  316. parallax: true
  317. # 图片最小的宽高比,以免图片两边被过度裁剪,适用于移动端竖屏时,如需关闭设为 0
  318. # Minimum ratio of width to height, applicable to the vertical screen of mobile device, if you need to close it, set it to 0
  319. width_height_ratio: 1.0
  320. # 向下滚动的箭头
  321. # Scroll down arrow
  322. scroll_down_arrow:
  323. enable: true
  324. # 头图高度不小于指定比例,才显示箭头
  325. # Only the height of the banner image is greater than the ratio, the arrow is displayed
  326. # Available: 0 - 100
  327. banner_height_limit: 80
  328. # 翻页后自动滚动
  329. # Auto scroll after page turning
  330. scroll_after_turning_page: true
  331. # 向顶部滚动的箭头
  332. # Scroll top arrow
  333. scroll_top_arrow:
  334. enable: true
  335. # Open Graph metadata
  336. # See: https://hexo.io/docs/helpers.html#open-graph
  337. open_graph:
  338. enable: false
  339. twitter_card: summary_large_image
  340. twitter_id:
  341. twitter_site:
  342. google_plus:
  343. fb_admins:
  344. fb_app_id:
  345. #---------------------------
  346. # 页脚
  347. # Footer
  348. #---------------------------
  349. footer:
  350. # 页脚第一行文字的 HTML,建议保留 Fluid 的链接,用于向更多人推广本主题
  351. # HTML of the first line of the footer, it is recommended to keep the Fluid link to promote this theme to more people
  352. content: '
  353. <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>
  354. <a target="_blank" rel="nofollow noopener" href="https://beian.miit.gov.cn/">湘ICP备20008299号 </a>
  355. <a target="_blank" rel="nofollow noopener" href="https://icp.gov.moe/?keyword=20210128">萌ICP备20210128号</a>
  356. <br>
  357. <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>
  358. <br>
  359. <a href="https://hexo.io" target="_blank" rel="nofollow noopener"><span>Hexo</span></a>
  360. <i class="iconfont icon-love"></i>
  361. <a href="https://github.com/fluid-dev/hexo-theme-fluid" target="_blank" rel="nofollow noopener"><span>Fluid</span></a>
  362. <i class="iconfont icon-love"></i>
  363. <a href="https://github.com/limour-blog/limour-blog.github.io" target="_blank" rel="nofollow noopener"><span>SRC</span></a>
  364. <i class="iconfont icon-love"></i>
  365. <a href="https://web.archive.org/web/20231130095837/https://effectiveacceleration.tech/" target="_blank" rel="nofollow noopener"><span>e/Acc</span></a>
  366. '
  367. # 展示网站的 PV、UV 统计数
  368. # Display website PV and UV statistics
  369. statistics:
  370. enable: false
  371. # 统计数据来源,使用 leancloud 需要设置 `web_analytics: leancloud` 中的参数;使用 busuanzi 不需要额外设置,但是有时不稳定,另外本地运行时 busuanzi 显示统计数据很大属于正常现象,部署后会正常
  372. # Data source. If use leancloud, you need to set the parameter in `web_analytics: leancloud`
  373. # Options: busuanzi | leancloud
  374. source: "busuanzi"
  375. # 国内大陆服务器的备案信息
  376. # For Chinese mainland website policy, other areas keep disable
  377. beian:
  378. enable: false
  379. # ICP证号
  380. icp_text: 京ICP证123456号
  381. # 公安备案号,不填则只显示ICP
  382. police_text: 京公网安备12345678号
  383. # 公安备案的编号,用于URL跳转查询
  384. police_code: 12345678
  385. # 公安备案的图片. 为空时不显示备案图片
  386. police_icon: /img/police_beian.png
  387. #---------------------------
  388. # 首页
  389. # Home Page
  390. #---------------------------
  391. index:
  392. # 首页 Banner 头图,可以是相对路径或绝对路径,以下相同
  393. # Path of Banner image, can be a relative path or an absolute path, the same on other pages
  394. banner_img: https://img.limour.top/2023/08/29/64ee08e108638.webp
  395. # 头图高度,屏幕百分比
  396. # Height ratio of banner image
  397. # Available: 0 - 100
  398. banner_img_height: 100
  399. # 头图黑色蒙版的不透明度,available: 0 - 1.0, 1 是完全不透明
  400. # Opacity of the banner mask, 1.0 is completely opaque
  401. # Available: 0 - 1.0
  402. banner_mask_alpha: 0.01
  403. # 首页副标题的独立设置
  404. # Independent config of home page subtitle
  405. slogan:
  406. enable: true
  407. # 为空则按 hexo config.subtitle 显示
  408. # If empty, text based on `subtitle` in hexo config
  409. text: "一沙一世界,一花一天堂。君掌盛无边,刹那成永恒。"
  410. # 通过 API 接口作为首页副标题的内容,必须返回的是 JSON 格式,如果请求失败则按 text 字段显示,该功能必须先开启 typing 打字机功能
  411. # 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
  412. api:
  413. enable: false
  414. # 请求地址
  415. # Request url
  416. url: ""
  417. # 请求方法
  418. # Request method
  419. # Available: GET | POST | PUT
  420. method: "GET"
  421. # 请求头
  422. # Request headers
  423. headers: {}
  424. # 从请求结果获取字符串的取值字段,最终必须是一个字符串,例如返回结果为 {"data": {"author": "fluid", "content": "An elegant theme"}}, 则取值字段为 ['data', 'content'];如果返回是列表则自动选择第一项
  425. # 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
  426. keys: []
  427. # 自动截取文章摘要
  428. # Auto extract post
  429. auto_excerpt:
  430. enable: true
  431. # 打开文章的标签方式
  432. # The browser tag to open the post
  433. # Available: _blank | _self
  434. post_url_target: _self
  435. # 是否显示文章信息(时间、分类、标签)
  436. # Meta information of post
  437. post_meta:
  438. date: true
  439. category: true
  440. tag: true
  441. # 文章通过 sticky 排序后,在首页文章标题前显示图标
  442. # If the posts are sorted by `sticky`, an icon is displayed in front of the post title
  443. post_sticky:
  444. enable: true
  445. icon: "iconfont icon-top"
  446. #---------------------------
  447. # 文章页
  448. # Post Page
  449. #---------------------------
  450. post:
  451. banner_img: https://img.limour.top/2023/08/29/64ee08e108638.webp
  452. banner_img_height: 70
  453. banner_mask_alpha: 0.3
  454. # 文章在首页的默认封面图,当没有指定 index_img 时会使用该图片,若两者都为空则不显示任何图片
  455. # Path of the default post cover when `index_img` is not set. If both are empty, no image will be displayed
  456. default_index_img:
  457. # 文章标题下方的元信息
  458. # Meta information below title
  459. meta:
  460. # 作者,优先根据 front-matter 里 author 字段,其次是 hexo 配置中 author 值
  461. # Author, based on `author` field in front-matter, if not set, based on `author` value in hexo config
  462. author:
  463. enable: true
  464. # 文章日期,优先根据 front-matter 里 date 字段,其次是 md 文件日期
  465. # Post date, based on `date` field in front-matter, if not set, based on create date of .md file
  466. date:
  467. enable: true
  468. # 格式参照 ISO-8601 日期格式化
  469. # ISO-8601 date format
  470. # See: http://momentjs.cn/docs/#/parsing/string-format/
  471. format: "LL a"
  472. # 字数统计
  473. # Word count
  474. wordcount:
  475. enable: true
  476. # 估计阅读全文需要的时长
  477. # Estimated reading time
  478. min2read:
  479. enable: true
  480. # 每个字词的长度,建议:中文≈2,英文≈5,中英混合可自行调节
  481. # Average word length (chars count in word), ZH ≈ 2, EN ≈ 5
  482. awl: 2
  483. # 每分钟阅读字数,如果大部分是技术文章可适度调低
  484. # Words per minute
  485. wpm: 60
  486. # 浏览量计数
  487. # Number of visits
  488. views:
  489. enable: false
  490. # 统计数据来源
  491. # Data Source
  492. # Options: busuanzi | leancloud
  493. source: "busuanzi"
  494. # 在文章开头显示文章更新时间,该时间默认是 md 文件更新时间,可通过 front-matter 中 `updated` 手动指定(和 date 一样格式)
  495. # 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)
  496. updated:
  497. enable: true
  498. # 格式参照 ISO-8601 日期格式化
  499. # ISO-8601 date format
  500. # See: http://momentjs.cn/docs/#/parsing/string-format/
  501. date_format: "LL a"
  502. # 是否使用相对时间表示,比如:"3 天前"
  503. # If true, it will be a relative time, such as: "3 days ago"
  504. relative: false
  505. # 提示标签类型
  506. # Note class
  507. # Options: default | primary | info | success | warning | danger | light
  508. note_class: info
  509. # 侧边栏展示当前分类下的文章
  510. # Sidebar of category
  511. category_bar:
  512. enable: true
  513. # 开启后,只有在文章 Front-matter 里指定 `category_bar: true` 才会展示分类,也可以通过 `category_bar: ["分类A"]` 来指定分类
  514. # If true, only set `category_bar: true` in Front-matter will enable sidebar of category, also set `category_bar: ["CategoryA"]` to specify categories
  515. specific: true
  516. # 置于板块的左侧或右侧
  517. # place in the board
  518. # Options: left | right
  519. placement: left
  520. # 文章的排序字段,前面带减号是倒序,不带减号是正序
  521. # Sort field for posts, with a minus sign is reverse order
  522. # Options: date | title | or other field of front-matter
  523. post_order_by: "title"
  524. # 单个分类中折叠展示文章数的最大值,超过限制会显示 More,0 则不限制
  525. # The maximum number of posts in a single category. If the limit is exceeded, it will be displayed More. If 0 no limit
  526. post_limit: 0
  527. # 侧边栏展示文章目录
  528. # Table of contents (TOC) in the sidebar
  529. toc:
  530. enable: true
  531. # 置于板块的左侧或右侧
  532. # place in the board
  533. # Options: left | right
  534. placement: right
  535. # 目录会选择这些节点作为标题
  536. # TOC will select these nodes as headings
  537. headingSelector: "h1,h2,h3,h4,h5,h6"
  538. # 层级的折叠深度,0 是全部折叠,大于 0 后如果存在下级标题则默认展开
  539. # Collapse depth. If 0, all headings collapsed. If greater than 0, it will be expanded by default if there are sub headings
  540. collapseDepth: 0
  541. # 版权声明,会显示在每篇文章的结尾
  542. # Copyright, will be displayed at the end of each post
  543. copyright:
  544. enable: true
  545. # CreativeCommons license
  546. # Options: BY | BY-SA | BY-ND | BY-NC | BY-NC-SA | BY-NC-ND
  547. license: 'BY-NC-SA'
  548. # 显示作者
  549. author:
  550. enable: true
  551. # 显示发布日期
  552. # Show post date
  553. post_date:
  554. enable: true
  555. format: "LL"
  556. # 显示更新日期
  557. # Show update date
  558. update_date:
  559. enable: true
  560. format: "LL"
  561. # 文章底部上一篇下一篇功能
  562. # Link to previous/next post
  563. prev_next:
  564. enable: true
  565. # 文章图片标题
  566. # Image caption
  567. image_caption:
  568. enable: true
  569. # 文章图片可点击放大
  570. # Zoom feature of images
  571. image_zoom:
  572. enable: false
  573. # 放大后图片链接替换规则,可用于将压缩图片链接替换为原图片链接,如 ['-slim', ''] 是将链接中 `-slim` 移除;如果想使用正则请使用 `re:` 前缀,如 ['re:\\d{3,4}\\/\\d{3,4}\\/', '']
  574. # 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}\\/','']
  575. img_url_replace: ['', '']
  576. # 脚注语法,会在文章底部生成脚注,如果 Markdown 渲染器本身支持,则建议关闭,否则可能会冲突
  577. # 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
  578. footnote:
  579. enable: true
  580. # 脚注的节标题,也可以在 front-matter 中通过 `footnote: <h2>Reference</h2>` 这种形式修改单独页面的 header
  581. # 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
  582. header: ''
  583. # 数学公式,开启之前需要更换 Markdown 渲染器,否则复杂公式会有兼容问题,具体请见:https://hexo.fluid-dev.com/docs/guide/##latex-数学公式
  584. # Mathematical formula. If enable, you need to change the Markdown renderer, see: https://hexo.fluid-dev.com/docs/en/guide/#math
  585. math:
  586. # 开启后文章默认可用,自定义页面如需使用,需在 Front-matter 中指定 `math: true`
  587. # If you want to use math on the custom page, you need to set `math: true` in Front-matter
  588. enable: true
  589. # 开启后,只有在文章 Front-matter 里指定 `math: true` 才会在文章页启动公式转换,以便在页面不包含公式时提高加载速度
  590. # If true, only set `math: true` in Front-matter will enable math, to load faster when the page does not contain math
  591. specific: true
  592. # Options: mathjax | katex
  593. engine: katex
  594. # 流程图,基于 mermaid-js,具体请见:https://hexo.fluid-dev.com/docs/guide/#mermaid-流程图
  595. # Flow chart, based on mermaid-js, see: https://hexo.fluid-dev.com/docs/en/guide/#mermaid
  596. mermaid:
  597. # 开启后文章默认可用,自定义页面如需使用,需在 Front-matter 中指定 `mermaid: true`
  598. # If you want to use mermaid on the custom page, you need to set `mermaid: true` in Front-matter
  599. enable: false
  600. # 开启后,只有在文章 Front-matter 里指定 `mermaid: true` 才会在文章页启动公式转换,以便在页面不包含公式时提高加载速度
  601. # If true, only set `mermaid: true` in Front-matter will enable mermaid, to load faster when the page does not contain mermaid
  602. specific: false
  603. # See: http://mermaid-js.github.io/mermaid/
  604. options: { theme: 'default' }
  605. # 评论插件
  606. # Comment plugin
  607. comments:
  608. enable: true
  609. # 指定的插件,需要同时设置对应插件的必要参数
  610. # The specified plugin needs to set the necessary parameters at the same time
  611. # Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis | giscus | discuss
  612. type: waline
  613. #---------------------------
  614. # 评论插件
  615. # Comment plugins
  616. #
  617. # 开启评论需要先设置上方 `post: comments: enable: true`,然后根据 `type` 设置下方对应的评论插件参数
  618. # Enable comments need to be set `post: comments: enable: true`, then set the corresponding comment plugin parameters below according to `type`
  619. #---------------------------
  620. # Utterances
  621. # 基于 GitHub Issues
  622. # Based on GitHub Issues
  623. # See: https://utteranc.es
  624. utterances:
  625. repo:
  626. issue_term: pathname
  627. label: utterances
  628. theme: github-light
  629. theme_dark: github-dark
  630. # Disqus
  631. # 基于第三方的服务,国内用户直接使用容易被墙,建议配合 Disqusjs
  632. # Based on third-party service
  633. # See: https://disqus.com
  634. disqus:
  635. shortname:
  636. # 以下为 Disqusjs 支持, 国内用户如果想使用 Disqus 建议配合使用
  637. # The following are Disqusjs configurations, please ignore if DisqusJS is not required
  638. # See: https://github.com/SukkaW/DisqusJS
  639. disqusjs: false
  640. apikey:
  641. # Gitalk
  642. # 基于 GitHub Issues
  643. # Based on GitHub Issues
  644. # See: https://github.com/gitalk/gitalk#options
  645. gitalk:
  646. clientID:
  647. clientSecret:
  648. repo:
  649. owner:
  650. admin: ['name']
  651. language: zh-CN
  652. labels: ['Gitalk']
  653. perPage: 10
  654. pagerDirection: last
  655. distractionFreeMode: false
  656. createIssueManually: true
  657. # 默认 proxy 可能会失效,解决方法请见下方链接
  658. # The default proxy may be invalid, refer to the links for solutions
  659. # https://github.com/gitalk/gitalk/issues/429
  660. # https://github.com/Zibri/cloudflare-cors-anywhere
  661. proxy: https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token
  662. # Valine
  663. # 基于 LeanCloud
  664. # Based on LeanCloud
  665. # See: https://valine.js.org/
  666. valine:
  667. appId:
  668. appKey:
  669. path: window.location.pathname
  670. placeholder:
  671. avatar: 'retro'
  672. meta: ['nick', 'mail', 'link']
  673. requiredFields: []
  674. pageSize: 10
  675. lang: 'zh-CN'
  676. highlight: false
  677. recordIP: false
  678. serverURLs: ''
  679. emojiCDN:
  680. emojiMaps:
  681. enableQQ: false
  682. # Waline
  683. # 从 Valine 衍生而来,额外增加了服务端和多种功能
  684. # Derived from Valine, with self-hosted service and new features
  685. # See: https://waline.js.org/
  686. waline:
  687. serverURL: 'https://comments.limour.top'
  688. path: window.location.pathname
  689. meta: ['nick', 'mail', 'link']
  690. requiredMeta: ['nick']
  691. lang: 'zh-CN'
  692. emoji: ['https://jscdn.limour.top/gh/walinejs/emojis/weibo']
  693. dark: 'html[data-user-color-scheme="dark"]'
  694. wordLimit: 0
  695. pageSize: 10
  696. # 畅言 Changyan
  697. # 基于第三方的服务
  698. # Based on third-party service, insufficient support for regions outside China
  699. # http://changyan.kuaizhan.com
  700. changyan:
  701. appid: ''
  702. appkey: ''
  703. # 来必力 Livere
  704. # 基于第三方的服务
  705. # Based on third-party service
  706. # See: https://www.livere.com
  707. livere:
  708. uid: ''
  709. # Remark42
  710. # 需要自托管服务端
  711. # Based on self-hosted service
  712. # See: https://remark42.com
  713. remark42:
  714. host:
  715. site_id:
  716. max_shown_comments: 10
  717. locale: zh
  718. components: ['embed']
  719. # Twikoo
  720. # 支持腾讯云、Vercel、Railway 等多种平台部署
  721. # Based on Tencent CloudBase
  722. # See: https://twikoo.js.org
  723. twikoo:
  724. envId:
  725. region: ap-shanghai
  726. path: window.location.pathname
  727. # Cusdis
  728. # 基于第三方服务或自托管服务
  729. # Based on third-party or self-hosted service
  730. # See https://cusdis.com
  731. cusdis:
  732. host:
  733. app_id:
  734. lang: zh-cn
  735. # Giscus
  736. # 基于 GitHub Discussions,类似于 Utterances
  737. # Based on GitHub Discussions, similar to Utterances
  738. # See: https://giscus.app/
  739. giscus:
  740. repo:
  741. repo-id:
  742. category:
  743. category-id:
  744. theme-light: light
  745. theme-dark: dark
  746. mapping: pathname
  747. reactions-enabled: 1
  748. emit-metadata: 0
  749. input-position: top
  750. lang: zh-CN
  751. # Discuss
  752. # 多平台、多数据库、自托管、免费开源评论系统
  753. # Self-hosted, small size, multi-platform, multi-database, free and open source commenting system
  754. # See: https://discuss.js.org
  755. discuss:
  756. serverURLs:
  757. path: window.location.pathname
  758. #---------------------------
  759. # 归档页
  760. # Archive Page
  761. #---------------------------
  762. archive:
  763. banner_img: https://img.limour.top/2023/08/29/64ee08e108638.webp
  764. banner_img_height: 60
  765. banner_mask_alpha: 0.3
  766. #---------------------------
  767. # 分类页
  768. # Category Page
  769. #---------------------------
  770. category:
  771. enable: true
  772. banner_img: https://img.limour.top/2023/08/29/64ee08e108638.webp
  773. banner_img_height: 60
  774. banner_mask_alpha: 0.3
  775. # 分类的排序字段,前面带减号是倒序,不带减号是正序
  776. # Sort field for categories, with a minus sign is reverse order
  777. # Options: length | name
  778. order_by: "-length"
  779. # 层级的折叠深度,0 是全部折叠,大于 0 后如果存在子分类则默认展开
  780. # Collapse depth. If 0, all posts collapsed. If greater than 0, it will be expanded by default if there are subcategories
  781. collapse_depth: 0
  782. # 文章的排序字段,前面带减号是倒序,不带减号是正序
  783. # Sort field for posts, with a minus sign is reverse order
  784. # Options: date | title | or other field of front-matter
  785. post_order_by: "-date"
  786. # 单个分类中折叠展示文章数的最大值,超过限制会显示 More,0 则不限制
  787. # The maximum number of posts in a single category. If the limit is exceeded, it will be displayed More. If 0 no limit
  788. post_limit: 10
  789. #---------------------------
  790. # 标签页
  791. # Tag Page
  792. #---------------------------
  793. tag:
  794. enable: true
  795. banner_img: https://img.limour.top/2023/08/29/64ee08e108638.webp
  796. banner_img_height: 80
  797. banner_mask_alpha: 0.3
  798. tagcloud:
  799. min_font: 15
  800. max_font: 30
  801. unit: px
  802. start_color: "#BBBBEE"
  803. end_color: "#337ab7"
  804. #---------------------------
  805. # 关于页
  806. # About Page
  807. #---------------------------
  808. about:
  809. enable: false
  810. banner_img: https://img.limour.top/2023/08/29/64ee08e108638.webp
  811. banner_img_height: 60
  812. banner_mask_alpha: 0.3
  813. avatar: /img/avatar.png
  814. name: "Fluid"
  815. intro: "An elegant theme for Hexo"
  816. # 更多图标可从 https://hexo.fluid-dev.com/docs/icon/ 查找,`class` 代表图标的 css class,添加 `qrcode` 后,图标不再是链接而是悬浮二维码
  817. # 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
  818. icons:
  819. - { class: "iconfont icon-github-fill", link: "https://github.com", tip: "GitHub" }
  820. - { class: "iconfont icon-douban-fill", link: "https://douban.com", tip: "豆瓣" }
  821. - { class: "iconfont icon-wechat-fill", qrcode: "/img/favicon.png" }
  822. #---------------------------
  823. # 自定义页
  824. # Custom Page
  825. #
  826. # 通过 hexo new page 命令创建的页面
  827. # Custom Page through `hexo new page`
  828. #---------------------------
  829. page:
  830. banner_img: https://img.limour.top/2023/08/29/64ee08e108638.webp
  831. banner_img_height: 60
  832. banner_mask_alpha: 0.3
  833. #---------------------------
  834. # 404页
  835. # 404 Page
  836. #---------------------------
  837. page404:
  838. enable: true
  839. banner_img: https://img.limour.top/2023/08/29/64ee08e108638.webp
  840. banner_img_height: 85
  841. banner_mask_alpha: 0.3
  842. # 重定向到首页的延迟(毫秒)
  843. # Delay in redirecting to home page (milliseconds)
  844. redirect_delay: 5000
  845. #---------------------------
  846. # 友链页
  847. # Links Page
  848. #---------------------------
  849. links:
  850. enable: true
  851. banner_img: https://img.limour.top/2023/08/29/64ee08e108638.webp
  852. banner_img_height: 60
  853. banner_mask_alpha: 0.3
  854. # 友链的成员项
  855. # Member item of page
  856. items:
  857. - {
  858. title: "Fluid Blog",
  859. intro: "主题博客",
  860. link: "https://hexo.fluid-dev.com/",
  861. avatar: "/img/favicon.png"
  862. }
  863. - {
  864. title: "生信技能树",
  865. intro: "曾老师的生信论坛",
  866. link: "https://web.archive.org/web/20230605205823/http://www.biotrainee.com/",
  867. avatar: "https://img.limour.top/2023/09/24/65104f9d6d28f.webp"
  868. }
  869. - {
  870. title: "浅秋枫影",
  871. intro: "记录生活,记录代码,给自己的网络生涯留下一笔精神财富!",
  872. link: "https://cuojue.org",
  873. avatar: "https://cuojue.org/avatar/b81741f1a25b57a016e223fe13f905b4"
  874. }
  875. - {
  876. title: "zzxのブログ",
  877. intro: "烟花易逝,人情长存",
  878. link: "https://blog.xzzzx.xyz",
  879. avatar: "https://blog.xzzzx.xyz/wp-content/uploads/2022/01/touxiang.jpg"
  880. }
  881. - {
  882. title: "博友圈",
  883. intro: "博客人的朋友圈,博客收录与文章 RSS 聚合网站",
  884. link: "https://www.boyouquan.com/home",
  885. avatar: "https://www.boyouquan.com/assets/images/sites/logo/logo-small.png"
  886. }
  887. # 当成员头像加载失败时,替换为指定图片
  888. # When the member avatar fails to load, replace the specified image
  889. onerror_avatar: /img/avatar.png
  890. # 友链下方自定义区域,支持 HTML,可插入例如申请友链的文字
  891. # Custom content at the bottom of the links
  892. custom:
  893. enable: true
  894. 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>"
  895. # 评论插件
  896. # Comment plugin
  897. comments:
  898. enable: true
  899. # 指定的插件,需要同时设置对应插件的必要参数
  900. # The specified plugin needs to set the necessary parameters at the same time
  901. # Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis | giscus | discuss
  902. type: waline
  903. #---------------------------
  904. # 以下是配置 JS CSS 等静态资源的 URL 前缀,可以自定义成 CDN 地址,
  905. # 如果需要修改,最好使用与默认配置相同的版本,以避免潜在的问题,
  906. # ** 如果你不知道如何设置,请不要做任何改动 **
  907. #
  908. # Here is the url prefix to configure the static assets. Set CDN addresses you want to customize.
  909. # Be aware that you would better use the same version as default ones to avoid potential problems.
  910. # DO NOT EDIT THE FOLLOWING SETTINGS UNLESS YOU KNOW WHAT YOU ARE DOING
  911. #---------------------------
  912. static_prefix:
  913. # 内部静态
  914. # Internal static
  915. internal_js: /js
  916. internal_css: /css
  917. internal_img: /img
  918. anchor: https://jscdn.limour.top/npm/anchor-js@4.3.1/
  919. github_markdown: https://jscdn.limour.top/npm/github-markdown-css@4.0.0/
  920. jquery: https://jscdn.limour.top/npm/jquery@3.6.4/dist/
  921. bootstrap: https://jscdn.limour.top/npm/bootstrap@4.6.1/dist/
  922. prismjs: https://lib.baomitu.com/prism/1.29.0/
  923. tocbot: https://jscdn.limour.top/npm/tocbot@4.20.1/dist/
  924. typed: https://lib.baomitu.com/typed.js/2.0.12/
  925. fancybox: https://lib.baomitu.com/fancybox/3.5.7/
  926. nprogress: https://jscdn.limour.top/npm/nprogress@0.2.0/
  927. mathjax: https://lib.baomitu.com/mathjax/3.2.2/
  928. katex: https://lib.baomitu.com/KaTeX/0.16.2/
  929. busuanzi: https://busuanzi.ibruce.info/busuanzi/2.3/
  930. clipboard: https://lib.baomitu.com/clipboard.js/2.0.11/
  931. mermaid: https://lib.baomitu.com/mermaid/8.14.0/
  932. valine: https://lib.baomitu.com/valine/1.5.1/
  933. waline: https://cdn.staticfile.org/waline/2.15.5/
  934. gitalk: https://lib.baomitu.com/gitalk/1.8.0/
  935. disqusjs: https://lib.baomitu.com/disqusjs/1.3.0/
  936. twikoo: https://lib.baomitu.com/twikoo/1.6.8/
  937. discuss: https://lib.baomitu.com/discuss/1.2.1/
  938. hint: https://jscdn.limour.top/npm/hint.css@2.7.0/