Skip to content

Latest commit

 

History

History
140 lines (99 loc) · 6.94 KB

README_EN.md

File metadata and controls

140 lines (99 loc) · 6.94 KB

Hexo Version Node Version License
GitHub Release Npm Downloads GitHub Commits

GitHub Watchers GitHub Stars GitHub Forks

🇨🇳 中文简体 | 🇬🇧 English

Preview: 👍 AnZhiYu || 🤞 AnZhiYu

Document: 📖 anzhiyu Docs

A theme based on hexo-theme-butterfly modification

hexo-theme-anzhiyu

💻 安裝

Git 安裝

Install the latest version in the root directory of the blog [recommended]

git clone -b main https://github.com/anzhiyu-c/hexo-theme-anzhiyu.git themes/anzhiyu

⚙ 应用主题

Modify the hexo configuration file _ config.yml and change the theme to anzhiyu

theme: anzhiyu

If you do not have a renderer for pug and stylus, please download and install: npm install hexo-renderer-pug hexo-renderer-stylus --save

Override configuration

Override configuration allows the theme configuration to be placed outside the anzhiyu directory to avoid losing custom configurations when updating the theme.

Users who install the theme through Npm can ignore it, and other users are recommended to learn to use it.

  • macos/linux Run in the blog root directory

    cp -rf ./themes/anzhiyu/_config.yml ./_config.anzhiyu.yml
  • windows Copy the file / themes/anzhiyu/_ config.yml to the hexo root directory and rename it to _ config.anzhiyu.yml

If you modify any theme configuration in the future, you only need to modify the configuration of_config.anzhiyu.yml.

Note:

  • as long as the configurations that exist in _ config.anzhiyu.yml are of high priority, it is invalid to modify the original _ config.yml.
  • there may be configuration changes each time the topic is updated. Please pay attention to the update instructions. You may need to manually modify _ config.anzhiyu.yml.
  • to check whether the override configuration has taken effect, you can check the command line output via override g-- debug.
  • if you want to overwrite some configurations to empty, be careful not to delete the primary key, otherwise it cannot be overwritten

Functional characteristics

-✅ extremely detailed [user documentation] (https://docs.anheyu.com/) -✅ Page components load lazily (pjax scheme) -✅ the picture is loaded lazily -✅ multiple code highlighting schemes -✅ multilingual configuration -✅ built-in multiple comment plug-ins -✅ built-in web page access statistics -✅ supports dark mode -✅ supports footnote syntax -✅ support custom CDN static resources -✅ A rich variety of tag options to quickly build the features you want -✅ supports customized right-click menus -✅ support customized dominant tone to vary with the color of the cover image -✅ support for immersive status bar -✅ support article word statistics -✅ support chat system -✅ support Google Analytics, Baidu Analytics, Microsoft Analytics, cloudflare Analytics, cnzz Analytics -✅ Advertising is supported -✅ large picture view is supported -✅ support waterfall flow and talk about it right away -✅ supports waterfall stream album -✅ supports Ali icon and fontawesome -✅ supports cached swpp,pwa features -✅ excellent privacy protocol support -✅ AI abstract support for articles -✅ support music ball -✅ supports the global center console -✅ supports shortcut key options -✅ support local search / algolia search 🔍 / Docsearch -✅ supports LaTeX mathematical formula -✅ support mermaid flow chart

Partial function display

Immersive status bar

Immerse yourself in reading.

Immersive status bar

Customized right-click menu

Highly customized.

 High and low custom right-click menu

AI Summary Read articles quickly. AI Summary

A refreshing interface that makes people shine at the moment

A refreshing interface that makes people shine at the moment

Comment Barrage

Comment Barrage

Contributors

contributors

Theme Design:@张洪 Heo

Document writing:@xiaoran

Warehouse Statistics

Warehouse Statistics