9 Star 1 Fork 2

GzCodeStudio / articles

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 1.30 KB
一键复制 编辑 原始数据 按行查看 历史
DHB 提交于 2020-06-30 18:00 . modified readme.md

Articles

dhbin modified the readme.md

本地运行

环境:nodejs、hexo-cli

环境安装参考

nodejs

hexo-cli

安装如果过慢,使用淘宝源,在执行命令后面加上

--registry=https://registry.npm.taobao.org

初始化

npm i --registry=https://registry.npm.taobao.org

运行

hexo s

提交

文章位于source/_posts中,以自己的名字命名一个文件夹作为工作目录,模板如下:

---
title: 标题
date: 2019-04-28 23:10:15
categories:
	- [categories]
tag:
	- tag
author: 作者
---

摘要

<!--more-->

正文

其中titledateauthor必须存在,categories(分类)、tag(标签)

标签和分类的使用参考material-x文章分类

更多配置参考material-x页面配置

注意

在提交到仓库前,请先在本地运行一次,确保没问题再提交!!!

在提交到仓库前,请先在本地运行一次,确保没问题再提交!!!

在提交到仓库前,请先在本地运行一次,确保没问题再提交!!!

1
https://gitee.com/GzCodeStudio/articles.git
git@gitee.com:GzCodeStudio/articles.git
GzCodeStudio
articles
articles
master

搜索帮助