Jekyll 博客主题 jekyll-bootstrap-blog 更新,支持页面不在导航显示

    xiaoxiao2025-11-19  37

    New Features and Enhancements

    Todey, jekyll-bootstrap-blog add an enhancement, that pages can excluded from top bar nav(See https://github.com/waylau/jekyll-bootstrap-blog/issues/3). It's very uesful to hide the page, but you can still visit it derictly by page's url.

    The jekyll-bootstrap-blog is a theme for Jekyll to build a personal blog. See https://github.com/waylau/jekyll-bootstrap-blog

    Page excluded from top bar nav

    By default, created pages will show on the top bar nav. If you want page excluded from top bar nav, you just addexcludedFromNav: true in the page as below. For example, we want hide the labs page:

    --- layout: page title: Labs permalink: /labs/ excludedFromNav:true ---

    Now, as you see ,the labs page was excluded from top bar nav:

    But, you can still visit it derictly by page's url:

    Demo

    You can see the theme running on my blog.

    相关资源:einverne.github.io:个人博客,使用jekyll-bootstrap,由github页面提供支持-源码
    最新回复(0)