A theme for blog based on Gatsby.
MIT License
一个基于 Gatsby 的博客主题。
安装 gatsby-theme-mini
非常容易。然而,在安装之前你需要先具备以下环境:
gatsby-theme-mini
npm install gatsby-theme-mini
gatsby-config.js
文件中启用module.exports = {
plugins: ['gatsby-theme-mini'],
}
mkdir config && touch config/default.yaml
初始化之后,你的项目文件夹如下:
├── config
│ └── default.yaml
├── gatsby-config.js
├── package.json
└── posts
└── hello-world
└── index.mdd
你可以修改 config/default.yaml 文件来进行个性化配置。
有关更多的个性化配置信息请查看 config/default.yaml。
git clone https://github.com/sqrthree/gatsby-theme-mini.git
cd gatsby-theme-mini
yarn install
cd packages/demo
yarn run dev
该项目基于 MIT License 发布。
sqrtthree.com · GitHub @sqrthree · Twitter @sqrtthree