Giter VIP home page Giter VIP logo

hexo-theme-anzhiyu's Introduction

Hexo Version Node Version License
GitHub Release Npm Downloads GitHub Commits

GitHub Watchers GitHub Stars GitHub Forks

🇨🇳 中文简体 | 🇬🇧 English

预览: 👍 AnZhiYu || 🤞 AnZhiYu

文档: 📖 anzhiyu Docs

一款基于hexo-theme-butterfly修改的主題

hexo-theme-anzhiyu

💻 安裝

Git 安裝

在博客根目录里安装最新版【推荐】

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

⚙ 应用主题

修改 hexo 配置文件_config.yml,把主题改为anzhiyu

theme: anzhiyu

如果你没有 pug 以及 stylus 的渲染器,请下载安装: npm install hexo-renderer-pug hexo-renderer-stylus --save

覆盖配置

覆盖配置可以使主题配置放置在 anzhiyu 目录之外,避免在更新主题时丢失自定义的配置。

通过 Npm 安装主题的用户可忽略,其他用户建议学习使用。

  • macos/linux 在博客根目录运行
cp -rf ./themes/anzhiyu/_config.yml ./_config.anzhiyu.yml
  • windows 复制/themes/anzhiyu/_config.yml此文件到 hexo 根目录,并重命名为_config.anzhiyu.yml

以后如果修改任何主题配置,都只需修改 _config.anzhiyu.yml 的配置即可。

注意:

  • 只要存在于 _config.anzhiyu.yml 的配置都是高优先级,修改原 _config.yml 是无效的。
  • 每次更新主题可能存在配置变更,请注意更新说明,可能需要手动对 _config.anzhiyu.yml 同步修改。
  • 想查看覆盖配置有没有生效,可以通过 hexo g --debug 查看命令行输出。
  • 如果想将某些配置覆盖为空,注意不要把主键删掉,不然是无法覆盖的

功能特性

  • ✅ 无比详实的用户文档
  • ✅ 页面组件懒加载(pjax方案)
  • ✅ 图片懒加载
  • ✅ 多种代码高亮方案
  • ✅ 多语言配置
  • ✅ 内置多款评论插件
  • ✅ 内置网页访问统计
  • ✅ 支持暗色模式
  • ✅ 支持脚注语法
  • ✅ 支持自定义CDN静态资源
  • ✅ 丰富多样化的标签选项快速构建你想要的功能
  • ✅ 支持定制化的右键菜单
  • ✅ 支持定制化的主色调随封面图片颜色变化
  • ✅ 支持沉浸式状态栏
  • ✅ 支持文章字数统计
  • ✅ 支持聊天系统
  • ✅ 支持谷歌分析、百度分析、微软分析、cloudflare分析、cnzz分析
  • ✅ 支持广告挂载
  • ✅ 支持图片大图查看
  • ✅ 支持瀑布流即刻说说
  • ✅ 支持瀑布流相册集
  • ✅ 支持阿里图标与fontawesome
  • ✅ 支持高速缓存的swpp,pwa特性
  • ✅ 优秀的隐私协议支持
  • ✅ 文章AI摘要支持
  • ✅ 支持音乐球
  • ✅ 支持全局中控台
  • ✅ 支持快捷键选项
  • ✅ 支持本地搜索/algolia搜索🔍/Docsearch
  • ✅ 支持 LaTeX 数学公式
  • ✅ 支持 mermaid 流程图

部分功能展示

沉浸式状态栏 沉浸阅读。 沉浸式状态栏

高低自定义的右键菜单 高度定制。 高低自定义的右键菜单

AI摘要 迅速读取文章内容。 AI摘要

让人眼前一亮的清爽界面

让人眼前一亮的清爽界面

评论弹幕

评论弹幕

贡献者

contributors

主题设计:@张洪 Heo

文档编写:@xiaoran

仓库统计

仓库统计

hexo-theme-anzhiyu's People

Contributors

anzhiyu-c avatar joker2yue avatar junpengzhou avatar nixgnauhcuy avatar ccknbc avatar zhx47 avatar katou-kouseki avatar ning0818 avatar xudingxie avatar ruoxijun avatar dingjunyao avatar gtwxxh666 avatar mycpen avatar hipeach avatar tunglamc avatar xrgzs avatar ezgx avatar gadore avatar zhheo avatar weekdaycare avatar sinzmise avatar emptydreams avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.