Skip to content

Commit

Permalink
feat(timeline): add timeline layout
Browse files Browse the repository at this point in the history
* feat(timeline): add timeline page to sidebar
* fix(timeline): fix the excerpt bugs
> Prettify the code & if <!--more--> is used when writing hexo post, show more excerpt.
* fix(timeline): fix tag & category style
> Correct spelling and float style errors.
* Add '...' after excerpts.
  • Loading branch information
ghouzenyan authored and neoFelhz committed Mar 31, 2017
1 parent af252cc commit c331da9
Show file tree
Hide file tree
Showing 3 changed files with 450 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _config.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ sidebar:
#link: "/about"
#icon: person
#divider: false
timeline: #can use different languages
link: "/timeline" #create a folder named 'timeline'(due to you) within the 'source' folder
icon: timeline #then create a file named 'index.md' inside this folder and set 'layout' to 'timeline' in front-matter
divider: false
article_num:
use: false
divider: false
Expand Down
Loading

0 comments on commit c331da9

Please sign in to comment.