hexo-theme-meizi

0.1.1 • Public • Published

hexo-theme-meizi

demo

怎么使用

安装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

Readme

Keywords

none

Package Sidebar

Install

npm i hexo-theme-meizi

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • imochen