Sha256: 57df3bda60bf43cb1a51a7556963212d86980f5fc52368f39abc531d3cf25e98

Contents?: true

Size: 1.27 KB

Versions: 8

Compression:

Stored size: 1.27 KB

Contents

{%- assign navBarData = site.data.blog.nav.navItems  -%}
<nav class="navbar navbar-expand-lg  navbar-light">
    <div class="container-fluid p-0">
        {%- assign navbar = site.data.blog.nav -%}
        {% if navbar.navbarBrandText != "" %}
        <a class="navbar-brand" href="/" title="{{navbar.navbarBrandText}}">{{navbar.navbarBrandText}}</a>

        {% else %}
        <a href="/">
            <img class="logo-height" src="{{navbar.navbarBrandLogo}}"
             alt="{{navbar.navbarBrandLogo}}" class="navbar-brand-image"
             height="40px" width="40px">
        </a>
        {% endif %}
        <div class="manul-navbar-toggler navbar-toggler">
            <div class="transforming-bars"></div>
        </div>

        <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav me-auto mb-2 mb-lg-0 navbar__nav">
                {%- for item in navBarData -%}
                <li class="nav-item">
                    <a class="nav-link" href="/{{item.url}}">{{item.name}}</a>
                </li>
                {% endfor %}
                
                <li class="nav-item">
                    {% include search-lunr.html %}
                </li>
            </ul>
        </div>
    </div>
</nav>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
best-blogging-theme-0.2.0 _includes/header/nav-menu.html
best-blogging-theme-0.1.9 _includes/header/nav-menu.html
best-blogging-theme-0.1.8 _includes/header/nav-menu.html
best-blogging-theme-0.1.7 _includes/header/nav-menu.html
best-blogging-theme-0.1.6 _includes/header/nav-menu.html
best-blogging-theme-0.1.5 _includes/header/nav-menu.html
best-blogging-theme-0.1.4 _includes/header/nav-menu.html
best-blogging-theme-0.1.3 _includes/header/nav-menu.html