0.1.1 • Published 10 years ago
hexo-theme-meizi v0.1.1
hexo-theme-meizi
怎么使用
安装Hexo
npm install hexo-cli -g初始化项目
hexo init blog
cd blog
npm install
hexo server --debug安装Meizi主题
cd theme
git clone https://github.com/imochen/hexo-theme-meizi.git
mv hexo-theme-meizi meizi配置主题
在根目录找到_config.yml,将theme改为meizi
theme: meizi初始化主题
hexo new page about打开新创建的about/index.md
修改其内容为
title: "关于我"
layout: "about"
---
<!-- 这里写你的简介 --> hexo new page archive打开新创建的archive/index.md
修改其内容为,里面无需再追加任何内容
title: "归档"
layout: "all-archives"
--- hexo new page tags打开新创建的tags/index.md
修改其内容为,里面无需再追加任何内容
title: "标签"
layout: "tags"
---启动预览
重新启动Hexo
hexo server --debug二次开发
安装开发依赖工具
进入主题目录,安装依赖
npm install安装完成后启动gulp任务即可
gulp watch