menu: 文章: 隧道: /archives/ || anzhiyu-icon-box-archive 分类: /categories/ || anzhiyu-icon-shapes 标签: /tags/ || anzhiyu-icon-tags 友链: 友人帐: /link/ || anzhiyu-icon-link 朋友圈: /fcircle/ || anzhiyu-icon-artstation 留言板: /comments/ || anzhiyu-icon-envelope 我的: 音乐馆: /music/ || anzhiyu-icon-music 追番页: /bangumis/ || anzhiyu-icon-bilibili 相册集: /album/ || anzhiyu-icon-images 小空调: /air-conditioner/ || anzhiyu-icon-fan 关于: 关于本人: /about/ || anzhiyu-icon-paper-plane 闲言碎语: /essay/ || anzhiyu-icon-lightbulb 随便逛逛: javascript:toRandomPost() || anzhiyu-icon-shoe-prints1 # nav相关配置 nav: enable: enable travelling: false clock: false menu: - title: 网页 item: - name: 博客 link: https://blog.anheyu.com/ icon: /img/favicon.ico - title: 项目 item: - name: 安知鱼图床 link: https://image.anheyu.com/ icon: https://image.anheyu.com/favicon.ico # mourn (哀悼日,指定日期网站简单变灰,不包括滚动条) # 注意: 仅网站首页变灰,其他页面正常显示 mourn: enable: false days: [4-5, 5-12, 7-7, 9-18, 12-13] # Code Blocks (代码相关) # -------------------------------------- highlight_theme: light # darker / pale night / light / ocean / mac / mac light / false highlight_copy: true # copy button highlight_lang: true # show the code language highlight_shrink: false # true: shrink the code blocks / false: expand the code blocks | none: expand code blocks and hide the button highlight_height_limit: 330 # unit: px code_word_wrap: false # copy settings # copyright: Add the copyright information after copied content (複制的内容后面加上版权信息) # copy: enable 复制后弹窗提示版权信息 copy: enable: true copyright: enable: false limit_count: 50 # social settings (社交图标设置) # formal: # name: link || icon social: # Github: https://github.com/anzhiyu-c || anzhiyu-icon-github # BiliBili: https://space.bilibili.com/372204786 || anzhiyu-icon-bilibili # 作者卡片 状态 author_status: enable: false # 可以是任何图片,建议放表情包或者emoji图片,效果都很好,[表情包速查](https://emotion.xiaokang.me/) statusImg: "https://bu.dusays.com/2023/08/24/64e6ce9c507bb.png" skills: # - 🤖️ 数码科技爱好者 # - 🔍 分享与热心帮助 # - 🏠 智能家居小能手 # - 🔨 设计开发一条龙 # - 🤝 专修交互与设计 # - 🏃 脚踏实地行动派 # - 🧱 团队小组发动机 # - 💢 壮汉人狠话不多 # search (搜索) # see https://blog.anheyu.com/posts/c27d.html#搜索系统 # -------------------------------------- # Algolia search algolia_search: enable: false hits: per_page: 6 tags: # - 前端 # - Hexo # Docsearch # Apply and Docs: see https://docsearch.algolia.com/ # Crawler Admin Console: see https://crawler.algolia.com/ # Settings: https://www.algolia.com/ docsearch: enable: false appId: # see email apiKey: # see email indexName: # see email option: # Local search local_search: enable: false preload: true CDN: # Math (数学) # -------------------------------------- # About the per_page # if you set it to true, it will load mathjax/katex script in each page (true 表示每一页都加载js) # if you set it to false, it will load mathjax/katex script according to your setting (add the 'mathjax: true' in page's front-matter) # (false 需要时加载,须在使用的 Markdown Front-matter 加上 mathjax: true) # MathJax mathjax: enable: false per_page: false # KaTeX katex: enable: false per_page: false hide_scrollbar: true # Image (图片设置) # -------------------------------------- # Favicon(网站图标) favicon: /favicon.ico # Avatar (头像) avatar: img: https://bu.dusays.com/2023/04/27/64496e511b09c.jpg effect: false # Disable all banner image disable_top_img: false # The banner image of home page index_img: false # "background: url() top / cover no-repeat" # If the banner of page not setting, it will show the top_img default_top_img: false cover: # display the cover or not (是否显示文章封面) index_enable: true aside_enable: true archives_enable: true # the position of cover in home page (封面显示的位置) # left/right/both position: left # When cover is not set, the default cover is displayed (当没有设置cover时,默认的封面显示) default_cover: # - /img/default_cover.jpg # Replace Broken Images (替换无法显示的图片) error_img: flink: /img/friend_404.gif post_page: /img/404.jpg # A simple 404 page error_404: enable: true subtitle: "请尝试站内搜索寻找文章" background: https://bu.dusays.com/2023/05/08/645907596997d.gif post_meta: page: # Home Page date_type: created # created or updated or both 主页文章日期是创建日或者更新日或都显示 date_format: simple # date/relative/simple 显示日期还是相对日期 或者 简单日期 categories: true # true or false 主页是否显示分类 tags: true # true or false 主页是否显示标籤 label: false # true or false 显示描述性文字 post: date_type: both # created or updated or both 文章页日期是创建日或者更新日或都显示 date_format: date # date/relative 显示日期还是相对日期 categories: true # true or false 文章页是否显示分类 tags: true # true or false 文章页是否显示标籤 label: true # true or false 显示描述性文字 unread: false # true or false 文章未读功能 # 主色调相关配置 mainTone: enable: false # true or false 文章是否启用获取图片主色调 mode: api # cdn/api/both cdn模式为图片url+imageAve参数获取主色调,api模式为请求API获取主色调,both模式会先请求cdn参数,无法获取的情况下将请求API获取,可以在文章内配置main_color: '#3e5658',使用十六进制颜色,则不会请求both/cdn/api获取主色调,而是直接使用配置的颜色 # 项目地址:https://github.com/anzhiyu-c/img2color-go api: https://img2color-go.vercel.app/api?img= # mode为api时可填写 cover_change: true # 整篇文章跟随cover修改主色调 # wordcount (字数统计) # see https://blog.anheyu.com/posts/c27d.html#字数统计 wordcount: enable: false post_wordcount: true min2read: true total_wordcount: true # Display the article introduction on homepage # 1: description # 2: both (if the description exists, it will show description, or show the auto_excerpt) # 3: auto_excerpt (default) # false: do not show the article introduction index_post_content: method: 3 length: 500 # if you set method to 2 or 3, the length need to config # anchor # when you scroll in post, the URL will update according to header id. anchor: false # Post # -------------------------------------- # toc (目录) toc: post: true page: false number: true expand: false style_simple: false # for post post_copyright: enable: true decode: false author_href: location: 长沙 license: CC BY-NC-SA 4.0 license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/ avatarSinks: false # hover时头像下沉 copyright_author_img_back: copyright_author_img_front: copyright_author_link: / # Sponsor/reward reward: enable: true QR_code: - img: https://npm.elemecdn.com/anzhiyu-blog@1.1.6/img/post/common/qrcode-weichat.png link: text: 微信 - img: https://npm.elemecdn.com/anzhiyu-blog@1.1.6/img/post/common/qrcode-alipay.png link: text: 支付宝 # Post edit # Easily browse and edit blog source code online. post_edit: # 目前仅可选择一个平台在线编辑 enable: false # github: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/ # For example: https://github.com/jerryc127/butterfly.js.org/edit/main/source/ github: false # yuque: https://www.yuque.com/user-name/repo-name/ # 示例: https://www.yuque.com/yuque/yuque/ # 你需要在语雀文章 Front Matter 添加参数 id 并确保其唯一性(例如 “id: yuque”, “id: 01”) yuque: false # Related Articles related_post: enable: true limit: 6 # Number of posts displayed date_type: created # or created or updated 文章日期显示创建日或者更新日 # figcaption (图片描述文字) photofigcaption: false # post_pagination (分页) # value: 1 || 2 || 3 || 4 || false # 1: The 'next post' will link to old post # 2: The 'next post' will link to new post # 3: 只有下一篇,并且只在文章滚动到评论区时显示下一篇文章(旧文章) # 4: 只有下一篇,并且只在文章滚动到评论区时显示下一篇文章(旧文章) 显示图片cover # false: disable pagination post_pagination: 2 # Displays outdated notice for a post (文章过期提醒) noticeOutdate: enable: false style: flat # style: simple/flat limit_day: 365 # When will it be shown position: top # position: top/bottom message_prev: It has been message_next: days since the last update, the content of the article may be outdated. # Share System (分享功能) # -------------------------------------- # Share.js # https://github.com/overtrue/share.js sharejs: enable: true sites: facebook,twitter,wechat,weibo,qq # AddToAny # https://www.addtoany.com/ addtoany: enable: false item: facebook,twitter,wechat,sina_weibo,email,copy_link # Comments System # -------------------------------------- comments: # Up to two comments system, the first will be shown as default # Choose: Valine/Waline/Twikoo/Artalk use: # Twikoo/Waline text: true # Display the comment name next to the button # lazyload: The comment system will be load when comment element enters the browser's viewport. # If you set it to true, the comment count will be invalid lazyload: false count: false # Display comment count in post's top_img card_post_count: false # Display comment count in Home Page # valine # https://valine.js.org valine: appId: xxxxx # leancloud application app id appKey: xxxxx # leancloud application app key pageSize: 10 # comment list page size avatar: mp # gravatar style https://valine.js.org/#/avatar lang: zh-CN # i18n: zh-CN/zh-TW/en/ja placeholder: 填写QQ邮箱就会使用QQ头像喔~. # valine comment input placeholder (like: Please leave your footprints) guest_info: nick,mail,link # valine comment header info (nick/mail/link) recordIP: false # Record reviewer IP serverURLs: # This configuration is suitable for domestic custom domain name users, overseas version will be automatically detected (no need to manually fill in) bg: /img/comment_bg.png # valine background emojiCDN: //i0.hdslb.com/bfs/emote/ # emoji CDN enableQQ: true # enable the Nickname box to automatically get QQ Nickname and QQ Avatar requiredFields: nick,mail # required fields (nick/mail) visitor: false master: - xxxxx friends: - xxxxxx tagMeta: "博主,小伙伴,访客" option: # waline - A simple comment system with backend support fork from Valine # https://waline.js.org/ waline: serverURL: # Waline server address url bg: # waline background pageview: false meta: false # 归属地, 操作系统 前是否显示图标 imageUploader: true # 是否启用图片上传功能,默认开启,限制为 128kb 的 base64 图片 # 以下为可选配置,后续若有新增/修改配置参数可在此自行添加/修改 option: # Twikoo # https://github.com/imaegoo/twikoo twikoo: envId: region: visitor: false option: # Artalk # https://artalk.js.org/guide/frontend/config.html artalk: server: site: visitor: false option: # Chat Services # -------------------------------------- # Chat Button [recommend] # It will create a button in the bottom right corner of website, and hide the origin button chat_btn: false # The origin chat button is displayed when scrolling up, and the button is hidden when scrolling down chat_hide_show: false # chatra # https://chatra.io/ chatra: enable: false id: # tidio # https://www.tidio.com/ tidio: enable: false public_key: # daovoice # http://daovoice.io/ daovoice: enable: false app_id: # crisp # https://crisp.chat/en/ crisp: enable: false website_id: # Footer Settings # -------------------------------------- footer: owner: enable: true since: 2020 custom_text: runtime: enable: false launch_time: 04/01/2021 00:00:00 # 网站上线时间 work_img: https://npm.elemecdn.com/anzhiyu-blog@2.0.4/img/badge/安知鱼-上班摸鱼中.svg work_description: 距离月入25k也就还差一个大佬带我~ offduty_img: https://npm.elemecdn.com/anzhiyu-blog@2.0.4/img/badge/安知鱼-下班啦.svg offduty_description: 下班了就该开开心心的玩耍,嘿嘿~ # 徽标部分配置项 https://shields.io/ # https://img.shields.io/badge/CDN-jsDelivr-orange?style=flat&logo=jsDelivr bdageitem: enable: false list: - link: https://hexo.io/ #徽标指向网站链接 shields: https://npm.elemecdn.com/anzhiyu-blog@2.1.5/img/badge/Frame-Hexo.svg #徽标API message: 博客框架为Hexo_v5.4.0 #徽标提示语 - link: https://blog.anheyu.com/ shields: https://npm.elemecdn.com/anzhiyu-theme-static@1.0.9/img/Theme-AnZhiYu-2E67D3.svg message: 本站使用AnZhiYu主题 # - link: https://www.dogecloud.com/ # shields: https://npm.elemecdn.com/anzhiyu-blog@2.2.0/img/badge/CDN-多吉云-3693F3.svg # message: 本站使用多吉云为静态资源提供CDN加速 # - link: https://github.com/ # shields: https://npm.elemecdn.com/anzhiyu-blog@2.1.5/img/badge/Source-Github.svg # message: 本站项目由Github托管 # - link: http://creativecommons.org/licenses/by-nc-sa/4.0/ # shields: https://npm.elemecdn.com/anzhiyu-blog@2.2.0/img/badge/Copyright-BY-NC-SA.svg # message: 本站采用知识共享署名-非商业性使用-相同方式共享4.0国际许可协议进行许可 socialBar: enable: false centerImg: left: # - title: email # link: mailto:anzhiyu-c@qq.com # icon: anzhiyu-icon-envelope # - title: 微博 # link: https://weibo.com/u/6378063631 # icon: anzhiyu-icon-weibo # - title: facebook # link: https://www.facebook.com/profile.php?id=100092208016287&sk=about # icon: anzhiyu-icon-facebook1 # - title: RSS # link: atom.xml # icon: anzhiyu-icon-rss right: # - title: Github # link: https://github.com/anzhiyu-c # icon: anzhiyu-icon-github # - title: Bilibili # link: https://space.bilibili.com/372204786 # icon: anzhiyu-icon-bilibili # - title: 抖音 # link: https://v.douyin.com/DwCpMEy/ # icon: anzhiyu-icon-tiktok # - title: CC # link: /copyright # icon: anzhiyu-icon-copyright-line list: enable: false randomFriends: 3 project: # - title: 服务 # links: # - title: 51la统计 # link: https://v6.51.la/ # - title: 十年之约 # link: https://www.foreverblog.cn/ # - title: 开往 # link: https://github.com/travellings-link/travellings # - title: 主题 # links: # - title: 文档 # link: /docs/ # - title: 源码 # link: https://github.com/anzhiyu-c/hexo-theme-anzhiyu # - title: 更新日志 # link: /update/ # - title: 导航 # links: # - title: 即刻短文 # link: /essay/ # - title: 友链文章 # link: /fcircle/ # - title: 留言板 # link: /comments/ # - title: 协议 # links: # - title: 隐私协议 # link: /privacy/ # - title: Cookies # link: /cookies/ # - title: 版权协议 # link: /copyright/ footerBar: enable: true authorLink: / cc: enable: false link: /copyright linkList: - link: https://github.com/anzhiyu-c/hexo-theme-anzhiyu text: 主题 # - link: https://image.anheyu.com # text: 图床 # - link: https://beian.miit.gov.cn/ # text: 湘ICP备-xxxxxxx号 subTitle: enable: false # Typewriter Effect (打字效果) effect: true # Effect Speed Options (打字效果速度参数) startDelay: 300 # time before typing starts in milliseconds typeSpeed: 150 # type speed in milliseconds backSpeed: 50 # backspacing speed in milliseconds # loop (循环打字) loop: true # source 调用第三方服务 # source: false 关闭调用 # source: 1 调用一言网的一句话(简体) https://hitokoto.cn/ # source: 2 调用一句网(简体) http://yijuzhan.com/ # source: 3 调用今日诗词(简体) https://www.jinrishici.com/ # subtitle 会先显示 source , 再显示 sub 的内容 source: 1 # 如果关闭打字效果,subtitle 只会显示 sub 的第一行文字 sub: # - 生活明朗, 万物可爱, 人间值得, 未来可期. # Analysis # -------------------------------------- # Baidu Analytics # https://tongji.baidu.com/web/welcome/login baidu_analytics: # Google Analytics # https://analytics.google.com/analytics/web/ google_analytics: # CNZZ Analytics # https://www.umeng.com/ cnzz_analytics: # Cloudflare Analytics # https://www.cloudflare.com/zh-tw/web-analytics/ cloudflare_analytics: # Microsoft Clarity # https://clarity.microsoft.com/ microsoft_clarity: # Advertisement # -------------------------------------- # Google Adsense (谷歌广告) google_adsense: enable: false auto_ads: true js: https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js client: enable_page_level_ads: true # Insert ads manually (手动插入广告) # ad: # index: # aside: # post: # Verification (站长验证) # -------------------------------------- site_verification: - name: google-site-verification content: xxx - name: baidu-site-verification content: code-xxx - name: msvalidate.01 content: xxx # Beautify/Effect (美化/效果) # -------------------------------------- # Theme color for customize # Notice: color value must in double quotes like "#000" or may cause error! theme_color: enable: true main: "#425AEF" dark_main: "#f2b94b" paginator: "#425AEF" # button_hover: "#FF7242" text_selection: "#2128bd" link_color: "var(--anzhiyu-fontcolor)" meta_color: "var(--anzhiyu-fontcolor)" hr_color: "#4259ef23" code_foreground: "#fff" code_background: "var(--anzhiyu-code-stress)" toc_color: "#425AEF" # blockquote_padding_color: "#425AEF" # blockquote_background_color: "#425AEF" scrollbar_color: "var(--anzhiyu-scrollbar)" meta_theme_color_light: "#f7f9fe" meta_theme_color_dark: "#18171d" # 移动端侧栏 sidebar: site_data: archive: true tag: true category: true menus_items: true tags_cloud: true display_mode: true nav_menu_project: true # 文章h2添加分隔线 h2Divider: false # 表格隔行变色 table_interlaced_discoloration: false # 首页双栏显示 article_double_row: true # The top_img settings of home page # default: top img - full screen, site info - middle (默认top_img全屏,site_info在中间) # The position of site info, eg: 300px/300em/300rem/10% (主页标题距离顶部距离) index_site_info_top: # The height of top_img, eg: 300px/300em/300rem (主页top_img高度) index_top_img_height: # The user interface setting of category and tag page (category和tag页的UI设置) # index - same as Homepage UI (index 值代表 UI将与首页的UI一样) # default - same as archives UI 默认跟archives页面UI一样 category_ui: # 留空或 index tag_ui: # 留空或 index # Footer Background footer_bg: false # the position of bottom right button/default unit: px (右下角按钮距离底部的距离/默认单位为px) rightside-bottom: 100px # Background effects (背景特效) # -------------------------------------- # canvas_ribbon (静止彩带背景) # See: https://github.com/hustcc/ribbon.js canvas_ribbon: enable: false size: 150 alpha: 0.6 zIndex: -1 click_to_change: false mobile: false # Fluttering Ribbon (动态彩带) canvas_fluttering_ribbon: enable: false mobile: false # canvas_nest # https://github.com/hustcc/canvas-nest.js canvas_nest: enable: false color: "0,0,255" #color of lines, default: '0,0,0'; RGB values: (R,G,B).(note: use ',' to separate.) opacity: 0.7 # the opacity of line (0~1), default: 0.5. zIndex: -1 # z-index property of the background, default: -1. count: 99 # the number of lines, default: 99. mobile: false # Typewriter Effect (打字效果) # https://github.com/disjukr/activate-power-mode activate_power_mode: enable: false colorful: true # open particle animation (冒光特效) shake: false # open shake (抖动特效) mobile: false # Mouse click effects: fireworks (鼠标点击效果: 烟火特效) fireworks: enable: false zIndex: 9999 # -1 or 9999 mobile: false # Mouse click effects: Heart symbol (鼠标点击效果: 爱心) click_heart: enable: false mobile: false # Mouse click effects: words (鼠标点击效果: 文字) ClickShowText: enable: false text: # - I # - LOVE # - YOU fontSize: 15px random: false mobile: false # Default display mode (网站默认的显示模式) # light (default) / dark display_mode: light # Beautify (美化页面显示) beautify: enable: true field: post # site/post title-prefix-icon: '\f0c1' title-prefix-icon-color: "#F47466" # Global font settings # Don't modify the following settings unless you know how they work (非必要不要修改) font: global-font-size: 16px code-font-size: font-family: code-font-family: consolas, Menlo, "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif # Font settings for the site title and site subtitle # 左上角网站名字 主页居中网站名字 blog_title_font: font_link: font-family: PingFang SC, 'Hiragino Sans GB', 'Microsoft JhengHei', 'Microsoft YaHei', sans-serif # The setting of divider icon (水平分隔线图标设置) hr_icon: enable: true icon: \f0c4 # the unicode value of Font Awesome icon, such as '\f0c4' icon-top: # the subtitle on homepage (主页subtitle) subtitle: enable: false # Typewriter Effect (打字效果) effect: true # Effect Speed Options (打字效果速度参数) startDelay: 300 # time before typing starts in milliseconds typeSpeed: 150 # type speed in milliseconds backSpeed: 50 # backspacing speed in milliseconds # loop (循环打字) loop: true # source 调用第三方服务 # source: false 关闭调用 # source: 1 调用一言网的一句话(简体) https://hitokoto.cn/ # source: 2 调用一句网(简体) http://yijuzhan.com/ # source: 3 调用今日诗词(简体) https://www.jinrishici.com/ # subtitle 会先显示 source , 再显示 sub 的内容 source: 1 # 如果关闭打字效果,subtitle 只会显示 sub 的第一行文字 sub: # - 生活明朗,万物可爱,人间值得,未来可期. # Loading Animation (加载动画) preloader: enable: true # source # 1. fullpage-loading # 2. pace (progress bar) # else all source: 3 # pace theme (see https://codebyzach.github.io/pace/) pace_css_url: avatar: https://npm.elemecdn.com/anzhiyu-blog-static@1.0.4/img/avatar.jpg # 自定加载动画义头像 # aside (侧边栏) # -------------------------------------- aside: enable: true hide: false button: true mobile: true # display on mobile position: right # left or right display: # 控制对应详情页面是否显示侧边栏 archive: true tag: true category: true card_author: enable: true description: #