Hexo搭建个人网站
生活随笔
收集整理的這篇文章主要介紹了
Hexo搭建个人网站
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
-- 官網:https://hexo.io
Hexo 是一個快速、簡潔且高效的博客框架。Hexo 使用?Markdown(或其他渲染引擎)解析文章,在幾秒內,即可利用靚麗的主題生成靜態網頁。
?
一、首先根據官網的流程安裝
?
安裝前提:Nodi.js、Git
$ npm install -g hexo-cli?
二、建站
$ hexo init test $ cd test $ npm install?
三、寫作
$ hexo new [layout] <title>?
| post | source/_posts |
| page | source |
| draft | source/_drafts |
?
?
??
?
?
?
?
四、部署
通過git部署到github:
1. 安裝?hexo-deployer-git
$ npm install hexo-deployer-git --save?
2. 修改配置
deploy:type: gitrepo: https://github.com/Trybst/trybst.github.io.gitbranch: mastermessage: test?
3.提交到git
$ hexo d?
轉載于:https://www.cnblogs.com/Trybst/p/10815557.html
總結
以上是生活随笔為你收集整理的Hexo搭建个人网站的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 5. [mmc subsystem] m
- 下一篇: Centos 安装 MySql