1.0.9 • Published 8 years ago
picidae-theme-crystal v1.0.9
crystal
Crystal is a elegant theme of picidae
Preview
Installation
- change dir to picidae root directory, if you have not yet inited picidae, go there
cd [picideaBlogRoot]- run npm install --save picidae-theme-crystal
- edit ./picidae.config.js
...
theme: "picidae-theme-crystal",
...- run picidae start/buildto see the new blog
theme config
default config
pageSize: 6 ,
title: 'Claiyre的个人博客',
// the text in the header of blog pages
blogName: false,
// put your avatar image under ./extra
avatarUrl: 'avatar.png'  
// crystal use the gitment system
gitment: {
    owner: 'Claiyre',
    repo: 'Claiyre.github.io',
    oauth: {
      client_id: 'xxx',
      client_secret: 'xxxx'
    }
  }You can also create a theme.config.js file under the root directory to overwrite the default config