Sha256: 8068227c948d4121db265885753f885f4be699827930fb685316814abad94448

Contents?: true

Size: 1.78 KB

Versions: 18

Compression:

Stored size: 1.78 KB

Contents

<nav class="navbar is-primary" >
    <div class="container">
        <div class="navbar-brand">
            <a href="{{ site.baseurl }}/" class="navbar-item">
                {{ site.title }}
            </a>
            <a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navMenu">
                <span aria-hidden="true"></span>
                <span aria-hidden="true"></span>
                <span aria-hidden="true"></span>
            </a>
        </div>
        <div class="navbar-menu" id="navMenu">
            <div class="navbar-start">
                <a href="{{ site.baseurl }}/" class="navbar-item {% if page.url == "/" %}is-active{% endif %}">Home</a>
                {% if site.data.navigation %}
                {% for item in site.data.navigation %}
                    {% if item.dropdown %}
                    <div class="navbar-item has-dropdown is-hoverable">
                        <a href="{{ item.link | prepend: site.baseurl }}" class="navbar-link {% if item.link == page.url %}is-active{% endif %}">{{ item.name }}</a>
                        <div class="navbar-dropdown">
                            {% for subitem in item.dropdown %}
                            <a href="{{ subitem.link | prepend: site.baseurl }}" class="navbar-item {% if subitem.link == page.url %}is-active{% endif %}">{{ subitem.name }}</a>
                            {% endfor %}
                        </div>
                    </div>
                    {% else %}
                    <a href="{{ item.link | prepend: site.baseurl }}" class="navbar-item {% if item.link == page.url %}is-active{% endif %}">{{ item.name }}</a>
                    {% endif %}
                {% endfor %}
                {% endif %}
            </div>
        </div>
    </div>
</nav>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
bulma-clean-theme-0.6.5 _includes/header.html
bulma-clean-theme-0.6.4 _includes/header.html
bulma-clean-theme-0.6.3 _includes/header.html
bulma-clean-theme-0.6.2 _includes/header.html
bulma-clean-theme-0.6.1 _includes/header.html
bulma-clean-theme-0.6 _includes/header.html
bulma-clean-theme-0.5.8 _includes/header.html
bulma-clean-theme-0.5.7 _includes/header.html
bulma-clean-theme-0.5.6 _includes/header.html
bulma-clean-theme-0.5.5 _includes/header.html
bulma-clean-theme-0.5.4 _includes/header.html
bulma-clean-theme-0.5.3 _includes/header.html
bulma-clean-theme-0.5.2 _includes/header.html
bulma-clean-theme-0.5.1 _includes/header.html
bulma-clean-theme-0.5 _includes/header.html
bulma-clean-theme-0.4.1 _includes/header.html
bulma-clean-theme-0.4 _includes/header.html
bulma-clean-theme-0.3 _includes/header.html