欢迎来到Hexo!本主题是Hexo的hexo-theme-Acrylic主题生成,官方文档地址:Acrylic

入门教程

创建项目

1
$ hexo init blog

主题安装

您可以在 Hexo 根目录使用以下命令来进行安装

1
git clone -b main https://github.com/hexo-theme-Acrylic/Hexo-Theme-Acrylic-Next.git themes/Acrylic

应用主题

打开 Hexo 根目录下的 config.yml, 修改主题配置部分

1
2
3
4
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: Acrylic

配置主题

复制 /themes/Acrylic/_config.yml 此文件到 Hexo 根目录,并重命名为 _config.Acrylic.yml

更新主题

进入主题文件夹 themes\Acrylic 并运行

git pull

清理项目

1
hexo clean

编译项目

1
hexo g

启动项目

1
hexo s

打包部署项目

1
hexo d

More info: Deployment

本站是基于Hexo静态博客框架,基于Butterfly为基础二次创作。每一个元素都经过重新设计
魔改教程

问题点

1
2
3
4
5
6
7
问题:hexo配置好后,运行hexo clean && hexo g && hexo d命令,出现ERROR Deployer not found: git

原因:少了hexo针对git的deploy组件

解决方法:npm install --save hexo-deployer-git

搞定,运行成功之后提示:INFO Deploy done: git