博客利器Hexo的使用

Hexo可以快速搭建一个博客,技术分享利器,用markdown语法编辑器写好文章,直接发送到github上,很6逼��。比如我的:
http://www.duqian.site/
官方说明请看:
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

如何安装配置暂时略,直接看使用:

Quick Start

常见一个新的文章

$ hexo new "MyNewPost"

More info: Writing

Run server

$ hexo server

More info: Server

Generate static files

$ hexo generate

More info: Generating

push to github

$ npm install hexo-deployer-git --save

Deploy to remote sites

$ hexo deploy

More info: Deployment

摘要与正文的分割用:” “,以下是正文。

title: Hexo的使用,常用命令
date: 2016-11-05 12:23:11 #文章生成时间
categories: #文章分类 可以省略
tags: #文章标签 可以省略
description: #文章的描述 可以省略

猜你喜欢

转载自blog.csdn.net/dzsw0117/article/details/53308614
今日推荐