🇨🇳 中文简体 | 🇬🇧 English
Preview: 👍 AnZhiYu || 🤞 AnZhiYu
Document: 📖 anzhiyu Docs
A theme based on hexo-theme-butterfly modification
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 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
-✅ 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
Immersive status bar
Immerse yourself in reading.
Customized right-click menu
Highly customized.
AI Summary Read articles quickly.
A refreshing interface that makes people shine at the moment
Comment Barrage
Theme Design:@张洪 Heo
Document writing:@xiaoran