Skip to content

个人博客2.x版本,重新组织项目结构,使用hexo构建;整合原blog内容。

License

Notifications You must be signed in to change notification settings

occultskyrong/blog2

Repository files navigation

blog2

个人博客2.x版本,重新组织项目结构,尝试使用jekyll重写;整合原blog内容。

目录

项目说明

命令

# 下载项目及子模块
git clone --recurse-submodules https://github.com/occultskyrong/blog2.git
# 安装依赖
npm i
# 安装hexo的cli
sudo npm install hexo-cli -g
# 启动服务
hexo server
# 或 - 使用pm2守护
pm2 start package.json --name blog2

# 新增theme-next到子模块
git submodule add https://github.com/theme-next/hexo-theme-next themes/next
# 新增文章
hexo new <title>

概述

基于Hexo构建博客系统

整体说明

  • JavaScript文件,基于ECMAScript 6(ES6,亦即ES2015)
  • NodeJS版本基于v8.12.0
  • _开头的文件,均可直接运行,shell需要跟定执行权限,.js直接使用node xxx.js即可

项目结构

tree -a -L 2 -I "node_modules|.git*|.vscode"
.
├── .eslintrc.json
├── .markdownlint.json
├── LICENSE
├── README.md
├── _config.yml
├── bin
│   └── hexo.sh
├── code
│   ├── common
│   ├── countries
│   ├── memory-leak
│   ├── node-events
├── config
│   ├── _secretKey.js
│   ├── development.js
│   ├── index.js
│   └── secretKey.js
├── db.json
├── package-lock.json
├── package.json
├── scaffolds
│   ├── draft.md
│   ├── page.md
│   └── post.md
├── source
│   └── _posts
├── themes
│   ├── landscape
│   └── next
└── yarn.lock

About

个人博客2.x版本,重新组织项目结构,使用hexo构建;整合原blog内容。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published