# -------------------------------------- # Hexo Butterfly Theme Configuration # If you have any questions, please refer to the documentation # Chinese: https://butterfly.js.org/ # English: https://butterfly.js.org/en/ # -------------------------------------- # -------------------------------------- # Navigation Settings # -------------------------------------- nav: # Navigation bar logo image logo: display_title: true display_post_title: true # Whether to fix navigation bar fixed: true menu: 首页: / || fas fa-home 存档: /archives/ || fas fa-archive 标签: /tags/ || fas fa-tags 分类: /categories/ || fas fa-folder-open 说说: /artitalk/ || fa-regular fa-comment 友链: /link/ || fas fa-link 关于: /about/ || fas fa-heart # -------------------------------------- # Code Blocks Settings # -------------------------------------- code_blocks: # Code block theme: darker / pale night / light / ocean / false theme: light macStyle: false # Code block height limit (unit: px) height_limit: 200 word_wrap: false # Toolbar copy: true language: true # true: shrink the code blocks | false: expand the code blocks | none: expand code blocks and hide the button shrink: false fullpage: true # Social media links # Formal: # icon: link || the description || color social: fab fa-github: https://github.com/bishshi || Github || '#24292e' fas fa-envelope: mailto:bishsh2006@gmail.com || Email || '#4a7dbe' # -------------------------------------- # Image Settings # -------------------------------------- favicon: /images/Bi.ico avatar: img: https://free.picui.cn/free/2025/08/10/689845496a283.png effect: false # Disable all banner images disable_top_img: false # If the banner of page not setting, it will show the default_top_img default_top_img: /images/background.png # The banner image of index page index_img: # The banner image of archive page archive_img: # Note: tag page, not tags page tag_img: # The banner image of tag page, you can set the banner image for each tag # Format: # - tag name: xxxxx tag_per_img: # Note: category page, not categories page category_img: # The banner image of category page, you can set the banner image for each category # Format: # - category name: xxxxx category_per_img: # The background image of footer footer_img: false # Website Background # Can set it to color or image url background: /images/background.png cover: # Disable the cover or not index_enable: true aside_enable: true archives_enable: true # When cover is not set, the default cover is displayed default_cover: # - xxx.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: 'Page Not Found' background: /img/error-page.png post_meta: # Home Page page: # Choose: created / updated / both date_type: created # Choose: date / relative date_format: date categories: true tags: false label: true post: # Choose: left / center position: left # Choose: created / updated / both date_type: both # Choose: date / relative date_format: date categories: true tags: true label: true # -------------------------------------- # Index page settings # -------------------------------------- # The top_img settings of home page # default: top img - full screen, site info - middle # The position of site info, eg: 300px/300em/300rem/10% index_site_info_top: # The height of top_img, eg: 300px/300em/300rem index_top_img_height: # The subtitle on homepage subtitle: enable: true # Typewriter Effect effect: true # Customize typed.js # https://github.com/mattboldt/typed.js/#customization typed_option: true # Source - Call the third-party service API (Chinese only) # It will show the source first, then show the content of sub # Choose: false/1/2/3 # false - disable the function # 1 - hitokoto.cn # 2 - https://api.aa1.cn/doc/yiyan.html # 3 - jinrishici.com source: 1 # If you close the typewriter effect, the subtitle will only show the first line of sub sub: # Article layout on the homepage # 1: Cover on the left, info on the right # 2: Cover on the right, info on the left # 3: Cover and info alternate between left and right # 4: Cover on top, info on the bottom # 5: Info displayed on the cover # 6: Masonry layout - Cover on top, info on the bottom # 7: Masonry layout - Info displayed on the cover index_layout: 7 # 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 # If you set method to 2 or 3, the length need to config length: 500 # -------------------------------------- # Post Settings # -------------------------------------- toc: post: true page: false number: true expand: false # Only for post style_simple: false scroll_percent: true post_copyright: enable: true decode: false author_href: license: CC BY-NC-SA 4.0 license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/ # Sponsor/reward reward: enable: false text: QR_code: # - img: /img/wechat.jpg # link: # text: wechat # - img: /img/alipay.jpg # link: # text: alipay # Post edit # Easily browse and edit blog source code online. post_edit: enable: false # url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/ # For example: https://github.com/jerryc127/butterfly.js.org/edit/main/source/ url: # Related Articles related_post: enable: true # Number of posts displayed limit: 6 # Choose: created / updated date_type: created # Choose: 1 / 2 / false # 1: The 'next post' will link to old post # 2: The 'next post' will link to new post # false: disable pagination post_pagination: 1 # Displays outdated notice for a post noticeOutdate: enable: true # Style: simple / flat style: flat # When will it be shown limit_day: 365 # Position: top / bottom position: top message_prev: It has been message_next: days since the last update, the content of the article may be outdated. # Footer Settings # -------------------------------------- footer: nav: owner: enable: false since: 2025 # Copyright of theme and framework copyright: enable: false version: false custom_text: |