rubytwitter-bootstrapjekylljekyll-bootstrap

jekyll bootstrap page not showing in navigation


I'm trying to add a page to my Jekyll Bootstrap blog and it's not showing up in the navbar. I thought that if you included the correct YAML front matter, the pages would automatically generate in the nav. I've created the page manually with a .html file extension, created the page using the command

rake page name="about.md" 

... and neither one seems to work. I've restarted my server, I'm using

jekyll serve --force_polling 

and I can't seem to get the page to show in my navigation ... please advise.

LINKS:

My github codebase: https://github.com/twotimes22/twotimes22.github.io Documentation: http://jekyllbootstrap.com/usage/jekyll-quick-start.html

Thanks in advance.


Solution

  • Your need to put your page in the navigation group by adding group: navigation in the front matter.

    See the page_list inclusion and the Jekyll bootstrapp documentation.

    Edit: After watching at your repository I found a strange bug.

    You have a trailing space in the front matter that the page away fronm the jekyll page listing ??

    This is your front matter :

    ---[space]
    layout: page
    title: "Toto"
    group: navigation
    ---[space]
    

    Removing the [space] makes the page appear in the pages list. Strange !