edit readme & site config example
parent
677cac4ebd
commit
fdf13df5d8
16
README.md
16
README.md
|
@ -107,7 +107,19 @@ disqus_shortname:
|
||||||
- **location** - Where you live in.
|
- **location** - Where you live in.
|
||||||
- **disqus_shortname** - Your Disqus shortname.
|
- **disqus_shortname** - Your Disqus shortname.
|
||||||
|
|
||||||
## Custom Categories & Tags Pages
|
### Post Thumbnail & Banner
|
||||||
|
|
||||||
|
You can add a thumbnail and a banner to each post by adding the following lines into your post source files' front-matter:
|
||||||
|
```r
|
||||||
|
title: Demo
|
||||||
|
date: 2015-01-01
|
||||||
|
...
|
||||||
|
# add those
|
||||||
|
thumbnail: http://example.com/thumbnail.jpg
|
||||||
|
banner: http://example.com/banner.jpg
|
||||||
|
```
|
||||||
|
|
||||||
|
### Custom Categories & Tags Pages
|
||||||
|
|
||||||
To enable custom categories page and tags page, just copy the `categories` folder and `tags` folder under your theme's `_source` foler into your site's `source` folder. Then edit theme's _config.yml and add the following lines:
|
To enable custom categories page and tags page, just copy the `categories` folder and `tags` folder under your theme's `_source` foler into your site's `source` folder. Then edit theme's _config.yml and add the following lines:
|
||||||
```r
|
```r
|
||||||
|
@ -119,7 +131,7 @@ menu:
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
## Languages
|
### Languages
|
||||||
|
|
||||||
English and Simplified Chinese are the default languages of the theme. You can add translations in the `languages` folder and change the default language in blog's `_config.yml`.
|
English and Simplified Chinese are the default languages of the theme. You can add translations in the `languages` folder and change the default language in blog's `_config.yml`.
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,7 @@ location: 'Harbin, China'
|
||||||
follow: https://github.com/ppoffice/
|
follow: https://github.com/ppoffice/
|
||||||
language: en
|
language: en
|
||||||
timezone:
|
timezone:
|
||||||
|
since: 2000 # The start year showing in your copyright section.
|
||||||
|
|
||||||
# URL
|
# URL
|
||||||
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
|
## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
|
||||||
|
|
Loading…
Reference in New Issue