-
Notifications
You must be signed in to change notification settings - Fork 15
User guide
littlewin edited this page Mar 28, 2017
·
6 revisions
- In blog root dir
$ hexo new page about
- Modify source/about/index.md
---
title: About me
layout: "about"
---
//Add personal info you'd like to add
Add files to themes/casual/source/ and modify _config.yml
favicon: /favicon.png
Just modify _config.yml
social:
github: http://github.com/littlewin-wang
twitter: http://twitter.com/littlewin_wang
weibo: http://weibo.com/fredinweibo
In the post add <!-- more -->
tag, the contents of the above will be on the home page preview.
Modify uyan item, value is your uyan id.
# Comment
# e.g uyan: 2128137
uyan: 2128137
In blog root _config.yml
# Search
search:
path: search.xml
field: all
Add startyear
items in theme config
In the theme dir, install the dependencies
$ npm install
Change jade files in casual/layout
Change scss files in casual/source/scss
In the theme dir, run npm run sass
Then remove the node_modules
under the the theme dir.
In the blog dir, run:
$ hexo g
$ ...
$ hexo s
Enjoy