Sha256: eb6c638ecf102809fb77990e38a21588879b0f224116fa1303744558d86a27a1

Contents?: true

Size: 1.95 KB

Versions: 1

Compression:

Stored size: 1.95 KB

Contents

<header class="navbar navbar-expand-md navbar-custom" id="top">
    <div class="container">
        <a class="navbar-brand" href="{{ '/' | relative_url }}">{{ site.name }}</a>

        <button
            class="navbar-toggler"
            type="button"
            data-toggle="collapse"
            data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent"
            aria-expanded="false"
            aria-label="Toggle navigation"
        >
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>

        <nav class="navbar-collapse collapse" role="navigation" id="navbarSupportedContent">
            <ul class="navbar-nav">
                {% assign sorted_pages = site.pages | sort: "name" %}
                {% for p in sorted_pages %}
                    {% if p.isHome != true and p.hide != true and p.title %}
                        <li class="nav-item {% if page.title == p.title %}active{% endif %}">
                            <a
                                class="nav-link"
                                href="{{ p.url | relative_url }}"
                            >
                                {{ p.title }}
                            </a>
                        </li>
                    {% endif %}
                {% endfor %}
            </ul>
            <ul class="navbar-nav ml-auto">
                {% for p in site.links.header %}
                    <li class="nav-item {% if page.title == p.title %}active{% endif %}">
                        <a
                            class="nav-link"
                            href="{{ p.url }}"
                        >
                            {% include fa-icon.html icon=p.icon brand=p.brand %}
                            {{ p.title }}
                        </a>
                    </li>
                {% endfor %}
            </ul>
        </nav>
    </div>
</header>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-docs-theme-1.0.0.pre.beta.1 _includes/navigation.html