1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525
|
@@ -18,11 +18,11 @@ # 用于浏览器标签的图标 # Icon for browser tab -favicon: /img/fluid.png +favicon: /img/config/favicon.png # 用于苹果设备的图标 # Icon for Apple touch -apple_touch_icon: /img/fluid.png +apple_touch_icon: /img/config/favicon.png # 浏览器标签页中的标题分隔符,效果:文章名 - 站点名 # Title separator in browser tab, eg: article - site @@ -87,7 +87,7 @@ fun_features: # 打印速度,数字越大越慢 # Typing speed, the larger the number, the slower - typeSpeed: 70 + typeSpeed: 30 # 游标字符 # Cursor character @@ -147,7 +147,7 @@ color: # 顶部菜单背景色 # Color of navigation bar background - navbar_bg_color: "#2f4154" + navbar_bg_color: "#66afef" navbar_bg_color_dark: "#1f3144" # 顶部菜单字体色 @@ -234,15 +234,21 @@ font: # 指定自定义 .js 文件路径,支持列表;路径是相对 source 目录,如 /js/custom.js 对应存放目录 source/js/custom.js # 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` custom_js: +- /js/sakura.js +- /js/mouse_firework_load.js # 指定自定义 .css 文件路径,用法和 custom_js 相同 # The usage is the same as custom_js -custom_css: +custom_css: //at.alicdn.com/t/c/font_5174900_hx0kzk08bx5.css + +# 自定义 <head> 节点中的 HTML 内容 +custom_head: '<meta name="google-site-verification" content="yZo06LTPQG7nctMwi80E6kCtD8lRF1FOa65Urpdsc1w" />' # 网页访问统计 # Analysis of website visitors web_analytics: - enable: false + enable: true # 遵循访客浏览器"请勿追踪"的设置,如果开启则不统计其访问 # Follow the "Do Not Track" setting of the visitor's browser @@ -252,7 +258,7 @@ web_analytics: # 百度统计的 Key,值需要获取下方链接中 `hm.js?` 后边的字符串 # Baidu analytics, get the string behind `hm.js?` # See: https://tongji.baidu.com/sc-web/10000033910/home/site/getjs?siteId=13751376 - baidu: + baidu: xxxxxxxxxxxxxxxxxxxxxxxxx # Google Analytics 4 的媒体资源 ID # Google Analytics 4 MEASUREMENT_ID @@ -269,12 +275,14 @@ web_analytics: # LeanCloud 计数统计,可用于 PV UV 展示,如果 `web_analytics: enable` 没有开启,PV UV 展示只会查询不会增加 # 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 + # LeanCloud:https://console.leancloud.cn/apps + # app_id,app_key,server_url 需要创建一个 LeaanCloud 应用,并在应用的设置 -> 应用凭证中获取 leancloud: - app_id: - app_key: + app_id: xxxxxxxxxxxxxxxxxxxxxxxxx + app_key: xxxxxxxxxxxxxxxxxxxxxxxxx # REST API 服务器地址,国际版不填 # Only the Chinese mainland users need to set - server_url: + server_url: https://xxxxxxxxxxxxxxxxxxxxxxxxx # 统计页面时获取路径的属性 # Get the attribute of the page path during statistics path: window.location.pathname @@ -302,11 +310,11 @@ web_analytics: umami: # umami js 文件地址,需要在 umami 后台创建站点后获取 # umami js file url, get after create website in umami + # 配置方法参考: https://licyk.netlify.app/2026/06/05/add-umami-pageview-to-hexo-fluid - src: + src: https://xxxxxxxxxxxxxxxxxxxxxxxxx # umami 的 website id,需要在 umami 后台创建站点后获取 # umami website id, get after create website in umami - website_id: + website_id: xxxxxxxxxxxxxxxxxxxxxxxxx # 如果你只想统计特定的域名可以填入此字段,多个域名通过逗号分隔,这可以避免统计 localhost。 # If you only want to tracker to specific domains you can fill in this field, multiple domain names are separated by commas, which can avoid tracker localhost @@ -318,11 +326,11 @@ web_analytics: # 新建一个 umami viewOnly 用户,然后通过 login api 获取该用户 token # create an umami viewOnly user, and then get user token through the login api - token: + token: xxxxxxxxxxxxxxxxxxxxxxxxx # 填写 umami 部署的服务器地址,如 "https://umami.example.com" # server url of umami deployment, such as "https://umami.example.com" - api_server: + api_server: https://xxxxxxxxxxxxxxxxxxxxxxxxx # Canonical 用于向 Google 搜索指定规范网址,开启前确保 hexo _config.yml 中配置 `url: http://yourdomain.com` # Canonical, to specify a canonical URL for Google Search, need to set up `url: http://yourdomain.com` in hexo _config.yml @@ -337,7 +345,7 @@ lazyload: # 加载时的占位图片 # The placeholder image when loading - loading_img: /img/loading.gif + loading_img: /img/config/loading.gif # 开启后懒加载仅在文章页生效,如果自定义页面需要使用,可以在 Front-matter 里指定 `lazyload: true` # If true, only enable lazyload on the post page. For custom pages, you can set 'lazyload: true' in front-matter @@ -362,12 +370,12 @@ iconfont: //at.alicdn.com/t/c/font_1736178_k526ubmyhba.css navbar: # 导航栏左侧的标题,为空则按 hexo config 中 `title` 显示 # The title on the left side of the navigation bar. If empty, it is based on `title` in hexo config - blog_title: "Fluid" + blog_title: "licyk的小窝" # 导航栏毛玻璃特效,实验性功能,可能会造成页面滚动掉帧和抖动,部分浏览器不支持会自动不生效 # Navigation bar frosted glass special animation. It is an experimental feature ground_glass: - enable: false + enable: true # 模糊像素,只能为数字,数字越大模糊度越高 # Number of blurred pixel. the larger the number, the higher the blur @@ -386,7 +394,18 @@ navbar: - { key: "category", link: "/categories/", icon: "iconfont icon-category-fill" } - { key: "tag", link: "/tags/", icon: "iconfont icon-tags-fill" } - { key: "about", link: "/about/", icon: "iconfont icon-user-fill" } - #- { key: "links", link: "/links/", icon: "iconfont icon-link-fill" } + - { key: "爱发电", link: "https://afdian.com/a/licyk", icon: "iconfont icon-aifadian-line" } + - { key: "links", link: "/links/", icon: "iconfont icon-link-fill" } + - { + key: "工具", + icon: iconfont icon-bookmark-fill", + submenu: [ + { key: "工具合集", link: "/tools/", icon: "iconfont icon-code" }, + { key: "网页工具集", link: "/t", icon: "iconfont icon-briefcase" }, + { key: "追番", link: "/bangumis/", icon: "iconfont icon-books" }, + { key: "RSS", link: "/rss2.xml", icon: "iconfont icon-rss" }, + ] + } # 搜索功能,基于 hexo-generator-search 插件,若已安装其他搜索插件请关闭此功能,以避免生成多余的索引文件 # Search feature, based on hexo-generator-search. If you have installed other search plugins, please disable this feature to avoid generating redundant index files @@ -404,7 +423,7 @@ search: # 搜索的范围 # Search field # Options: post | page | all - field: post + field: all # 搜索是否扫描正文 # If true, search will scan the post content @@ -472,12 +491,12 @@ footer: # 展示网站的 PV、UV 统计数 # Display website PV and UV statistics statistics: - enable: false + enable: true # 统计数据来源,使用 leancloud, umami, openkounter 需要设置 `web_analytics` 中对应的参数;使用 busuanzi 不需要额外设置,但是有时不稳定,另外本地运行时 busuanzi 显示统计数据很大属于正常现象,部署后会正常 # Data source. If use leancloud, umami, openkounter, you need to set the parameter in `web_analytics` # Options: busuanzi | leancloud | umami | openkounter - source: "busuanzi" + source: "umami" # 国内大陆服务器的备案信息 # For Chinese mainland website policy, other areas keep disable @@ -490,7 +509,7 @@ footer: # 公安备案的编号,用于URL跳转查询 police_code: 12345678 # 公安备案的图片. 为空时不显示备案图片 - police_icon: /img/police_beian.png + police_icon: /img/config/police_beian.png #--------------------------- @@ -500,7 +519,7 @@ footer: index: # 首页 Banner 头图,可以是相对路径或绝对路径,以下相同 # Path of Banner image, can be a relative path or an absolute path, the same on other pages - banner_img: /img/default.png + banner_img: /img/config/home.jpg # 头图高度,屏幕百分比 # Height ratio of banner image @@ -519,16 +538,16 @@ index: # 为空则按 hexo config.subtitle 显示,支持列表格式来实现随机选择一行文字显示 # If empty, text based on `subtitle` in hexo config, support list format to random selection of a row for display - text: "An elegant Material-Design theme for Hexo" + text: "做自己喜欢的事情就好" # 通过 API 接口作为首页副标题的内容,必须返回的是 JSON 格式,如果请求失败则按 text 字段显示,该功能必须先开启 typing 打字机功能 # 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 api: - enable: false + enable: true # 请求地址 # Request url - url: "" + url: "https://v1.hitokoto.cn" # 请求方法 # Request method @@ -541,7 +560,7 @@ index: # 从请求结果获取字符串的取值字段,最终必须是一个字符串,例如返回结果为 {"data": {"author": "fluid", "content": "An elegant theme"}}, 则取值字段为 ['data', 'content'];如果返回是列表则自动选择第一项 # 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 - keys: [] + keys: ["hitokoto"] # 自动截取文章摘要 # Auto extract post @@ -572,7 +591,7 @@ index: # Post Page #--------------------------- post: - banner_img: /img/default.png + banner_img: /img/config/post.jpg banner_img_height: 70 banner_mask_alpha: 0.3 @@ -616,16 +635,16 @@ post: # 浏览量计数 # Number of visits views: - enable: false + enable: true # 统计数据来源 # Data Source # Options: busuanzi | leancloud | umami - source: "busuanzi" + source: "umami" # 在文章开头显示文章更新时间,该时间默认是 md 文件更新时间,可通过 front-matter 中 `updated` 手动指定(和 date 一样格式) # 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) updated: - enable: false + enable: true # 格式参照 ISO-8601 日期格式化 # ISO-8601 date format @@ -675,7 +694,7 @@ post: # 置于板块的左侧或右侧 # place in the board # Options: left | right - placement: right + placement: left # 目录会选择这些节点作为标题 # TOC will select these nodes as headings @@ -683,7 +702,7 @@ post: # 层级的折叠深度,0 是全部折叠,大于 0 后如果存在下级标题则默认展开 # Collapse depth. If 0, all headings collapsed. If greater than 0, it will be expanded by default if there are sub headings - collapseDepth: 0 + collapseDepth: 6 # 版权声明,会显示在每篇文章的结尾 # Copyright, will be displayed at the end of each post @@ -742,11 +761,11 @@ post: math: # 开启后文章默认可用,自定义页面如需使用,需在 Front-matter 中指定 `math: true` # If you want to use math on the custom page, you need to set `math: true` in Front-matter - enable: false + enable: true # 开启后,只有在文章 Front-matter 里指定 `math: true` 才会在文章页启动公式转换,以便在页面不包含公式时提高加载速度 # If true, only set `math: true` in Front-matter will enable math, to load faster when the page does not contain math - specific: false + specific: true # Options: mathjax | katex engine: mathjax @@ -756,11 +775,11 @@ post: mermaid: # 开启后文章默认可用,自定义页面如需使用,需在 Front-matter 中指定 `mermaid: true` # If you want to use mermaid on the custom page, you need to set `mermaid: true` in Front-matter - enable: false + enable: true # 开启后,只有在文章 Front-matter 里指定 `mermaid: true` 才会在文章页启动公式转换,以便在页面不包含公式时提高加载速度 # If true, only set `mermaid: true` in Front-matter will enable mermaid, to load faster when the page does not contain mermaid - specific: false + specific: true # See: http://mermaid-js.github.io/mermaid/ options: { theme: 'default' } @@ -768,11 +787,11 @@ post: # 评论插件 # Comment plugin comments: - enable: false + enable: true # 指定的插件,需要同时设置对应插件的必要参数 # The specified plugin needs to set the necessary parameters at the same time # Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis | giscus | discuss - type: disqus + type: giscus #--------------------------- @@ -918,10 +937,10 @@ cusdis: # Based on GitHub Discussions, similar to Utterances # See: https://giscus.app/ giscus: - repo: - repo-id: - category: - category-id: + repo: xxxxxxxxxxxxxxxxxxxxxxxxx + repo-id: xxxxxxxxxxxxxxxxxxxxxxxxx + category: xxxxxxxxxxxxxxxxxxxxxxxxx + category-id: xxxxxxxxxxxxxxxxxxxxxxxxx theme-light: light theme-dark: dark mapping: pathname @@ -929,6 +948,7 @@ giscus: emit-metadata: 0 input-position: top lang: zh-CN + data-strict: 1 # Discuss # 多平台、多数据库、自托管、免费开源评论系统 @@ -944,7 +964,7 @@ discuss: # Archive Page #--------------------------- archive: - banner_img: /img/default.png + banner_img: /img/config/archive.jpg banner_img_height: 60 banner_mask_alpha: 0.3 @@ -955,7 +975,7 @@ archive: #--------------------------- category: enable: true - banner_img: /img/default.png + banner_img: /img/config/categories.jpg banner_img_height: 60 banner_mask_alpha: 0.3 @@ -984,7 +1004,7 @@ category: #--------------------------- tag: enable: true - banner_img: /img/default.png + banner_img: /img/config/tags.jpg banner_img_height: 80 banner_mask_alpha: 0.3 tagcloud: @@ -1001,18 +1021,20 @@ tag: #--------------------------- about: enable: true - banner_img: /img/default.png + banner_img: /img/config/about.jpg banner_img_height: 60 banner_mask_alpha: 0.3 - avatar: /img/avatar.png - name: "Fluid" - intro: "An elegant theme for Hexo" + avatar: https://avatars1.githubusercontent.com/u/76895225 + name: "licyk" + intro: "做自己喜欢的事~" # 更多图标可从 https://fluid.ist/docs/icon/ 查找,`class` 代表图标的 css class,添加 `qrcode` 后,图标不再是链接而是悬浮二维码 # More icons can be found from https://fluid.ist/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 icons: - - { class: "iconfont icon-github-fill", link: "https://github.com", tip: "GitHub" } - - { class: "iconfont icon-douban-fill", link: "https://douban.com", tip: "豆瓣" } - - { class: "iconfont icon-wechat-fill", qrcode: "/img/favicon.png" } + - { class: "iconfont icon-github-fill", link: "https://github.com/licyk", tip: "GitHub" } + - { class: "iconfont icon-bilibili-fill", link: "https://space.bilibili.com/46497516", tip: "哔哩哔哩" } + - { class: "iconfont icon-zhihu-fill", link: "https://www.zhihu.com/people/licyk", tip: "知乎" } + - { class: "iconfont icon-weibo-fill", link: "https://weibo.com/u/5220561442", tip: "微博" } + # - { class: "iconfont icon-wechat-fill", qrcode: "/img/favicon.png" } #--------------------------- @@ -1023,7 +1045,7 @@ about: # Custom Page through `hexo new page` #--------------------------- page: - banner_img: /img/default.png + banner_img: /img/config/post.jpg banner_img_height: 60 banner_mask_alpha: 0.3 @@ -1034,7 +1056,7 @@ page: #--------------------------- page404: enable: true - banner_img: /img/default.png + banner_img: /img/config/404.jpg banner_img_height: 85 banner_mask_alpha: 0.3 # 重定向到首页的延迟(毫秒) @@ -1048,49 +1070,91 @@ page404: #--------------------------- links: enable: true - banner_img: /img/default.png + banner_img: /img/config/links.jpg banner_img_height: 60 banner_mask_alpha: 0.3 # 友链的成员项 # Member item of page items: + # - { + # title: "Fluid Blog", + # intro: "主题博客", + # link: "https://fluid.ist/", + # avatar: "/img/favicon.png" + # } + # - { + # title: "Fluid Docs", + # intro: "主题使用指南", + # link: "https://fluid.ist/docs/", + # avatar: "/img/favicon.png" + # } + # - { + # title: "Fluid Repo", + # intro: "主题 GitHub 仓库", + # link: "https://github.com/fluid-dev/hexo-theme-fluid", + # avatar: "/img/favicon.png" + # } + - { + title: "玉米试验田", + intro: "kymi 的博客", + link: "https://kymi1723.github.io/", + avatar: "https://avatars.githubusercontent.com/u/130027385" + } + - { + title: " Yog-paopao 的时光屋", + intro: "Yog-paopao 的博客", + link: "https://yogpaopao.vercel.app/", + avatar: "https://avatars.githubusercontent.com/u/66173435" + } + - { + title: "梦落的小窝", + intro: "梦落的博客", + link: "https://mengluo.vip/", + avatar: "https://avatars.githubusercontent.com/u/32565940" + } + - { + title: "m_HG_m's blog", + intro: "m_HG_m 的博客", + link: "https://hg-dev17.github.io", + avatar: "https://avatars.githubusercontent.com/u/73879765" + } - { - title: "Fluid Blog", - intro: "主题博客", - link: "https://fluid.ist/", - avatar: "/img/favicon.png" + title: "莫 の 小屋", + intro: "莫以寂刈的博客", + link: "https://makkishizu.github.io", + avatar: "https://avatars.githubusercontent.com/u/142442886" } - { - title: "Fluid Docs", - intro: "主题使用指南", - link: "https://fluid.ist/docs/", - avatar: "/img/favicon.png" + title: " 团子的血域城堡", + intro: "团子的博客", + link: "https://silvertuanzi.netlify.app", + avatar: "https://avatars.githubusercontent.com/u/126318157" } - { - title: "Fluid Repo", - intro: "主题 GitHub 仓库", - link: "https://github.com/fluid-dev/hexo-theme-fluid", - avatar: "/img/favicon.png" + title: "喵喵喵", + intro: "nicocatxzc 的博客", + link: "https://nicocat.cc", + avatar: "https://avatars.githubusercontent.com/u/114812330" } # 当成员头像加载失败时,替换为指定图片 # When the member avatar fails to load, replace the specified image - onerror_avatar: /img/avatar.png + onerror_avatar: /img/config/avatar.png # 友链下方自定义区域,支持 HTML,可插入例如申请友链的文字 # Custom content at the bottom of the links custom: - enable: false - content: '<hr><p>在下方留言申请加入我的友链,按如下格式提供信息:</p><ul><li>博客名:Fluid</li><li>简介:Fluid 主题官方博客</li><li>链接:https://fluid.ist</li><li>图片:https://fluid.ist/img/favicon.png</li></ul>' + enable: true + content: '<hr><p>要是可以的话,就加个友链吧,在下方留言哦~' # 评论插件 # Comment plugin comments: - enable: false + enable: true # 指定的插件,需要同时设置对应插件的必要参数 # The specified plugin needs to set the necessary parameters at the same time # Options: utterances | disqus | gitalk | valine | waline | changyan | livere | remark42 | twikoo | cusdis | giscus | discuss - type: disqus + type: giscus #---------------------------
|