yulijia / freshman21

Welcome to use Jekyll theme Freshman21.
http://yulijia.net/freshman21/
MIT License
133 stars 90 forks source link

How to custom navigation? #7

Closed dbarobin closed 9 years ago

dbarobin commented 9 years ago

I found an interesting thing. When I added a markdown file in the root of my GitHub Pages repo, the title of markdown was placed in the navigation automatically. Besides, all of navigation was placed according to the order of initial character of each words.

My question is, how to custom navigation? Any order, any words?

Thanks!

Sincerely, Robin

yulijia commented 9 years ago

To re-order the navigation tags, please change the markdown file name.

On this theme, I use aahome.md to instead of home.md, you can see the home tag bypassing other tags ahead of it.

Rename all markdown file by alphabetical list, you can get the order you wanted. For example: a_home.md b_about.md c_tags.md ......

dbarobin commented 9 years ago

Got it, Thanks!