├── README.md
├── _config.yml
├── layout
├── _partial
│ ├── archive.ejs
│ ├── article.ejs
│ ├── footer.ejs
│ ├── head.ejs
│ ├── header.ejs
│ ├── index.ejs
│ └── paginator.ejs
├── archive.ejs
├── index.ejs
├── layout.ejs
├── page.ejs
└── post.ejs
└── source
├── css
├── _base.scss
├── _partial
│ ├── archive.scss
│ ├── article.scss
│ ├── footer.scss
│ ├── header.scss
│ ├── highlight.scss
│ ├── index.scss
│ ├── page.scss
│ ├── paginator.scss
│ └── partial.scss
├── _variables.scss
├── app.scss
├── font-awesome.min.css
└── normalize.css
├── favicon.ico
├── fonts
├── fontawesome-webfont.eot
├── fontawesome-webfont.svg
├── fontawesome-webfont.ttf
└── fontawesome-webfont.woff
├── img
├── avatar.png
├── banner.png
├── blank.png
└── menu.png
└── js
└── toggle.js
/README.md:
--------------------------------------------------------------------------------
1 |
2 | # hexo-theme-fresh
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | ## Usage
12 |
13 | 1、 In the directory `themes`
14 |
15 | git clone https://github.com/stephenLYao/hexo-theme-fresh.git
16 |
17 | 2、install `hexo-renderer-sass`
18 |
19 | npm/cnpm install hexo-renderer-sass
20 |
21 | 3、Update blog's main `_config.yml`
22 |
23 | theme: hexo-theme-fresh
24 |
25 |
26 | ## Configuration
27 |
28 | Tag Title and description under the avatar
29 | ```
30 | title: Stephen's blog
31 | subtitle: Just Do Hack!!!
32 | ```
33 |
34 | The cover image on the top.
35 | ```
36 | avatar: img/avatar.png
37 | banner: img/banner.png
38 | ```
39 |
40 | The about contents:
41 |
42 | ```
43 | aboutContent: FEer / Muxi-Studio /Guitar Lover
44 | ```
45 | ## License
46 | MIT
47 |
--------------------------------------------------------------------------------
/_config.yml:
--------------------------------------------------------------------------------
1 | # basic
2 | title: Stephen's blog
3 | subtitle: Just Do Hack!!!
4 | description:
5 | keyword:
6 | favicon: favicon.ico
7 |
8 | # Header
9 | menu:
10 | ## If your site is put in a subdirectory, set Home as '/child/'
11 | Home: /
12 | Archives: /archives
13 | About: /about
14 | Rss: atom.xml
15 |
16 | # avatar: img/avatar.png
17 | # banner: img/banner.png
18 | avatar: http://7xl0rs.com1.z0.glb.clouddn.com/avatar.png
19 | banner: http://7xl0rs.com1.z0.glb.clouddn.com/banner.png
20 |
21 | # social
22 | social:
23 | twitter: https://twitter.com
24 | weibo: http://www.weibo.com/3103316530/profile?rightmod=1&wvr=6&mod=personinfo
25 | github: https://github.com/stephenLYao
26 |
27 |
28 | aboutContent: FEer / Muxi-Studio /Guitar Lover
29 |
30 | # hexo-renderer-sass
31 | node_sass:
32 | outputStyle: nested
33 | precision: 5
34 | sourceComments: false
--------------------------------------------------------------------------------
/layout/_partial/archive.ejs:
--------------------------------------------------------------------------------
1 |
6 | <%- post.title %>
7 |
8 |
3 | <%- post.title %>
4 |
5 |
6 |