Sha256: 40db08cde94923a866bbdec6b05b7e70e682b566c3e415eee1de483f71083dfa

Contents?: true

Size: 802 Bytes

Versions: 2

Compression:

Stored size: 802 Bytes

Contents

<!-- Navbar -->
<nav id="nav">
    <ul>
    {% for item in site.data.navigation.menu %}
        {% if item.menu[0] %}
        <li class="submenu {% if item.url == page.url %} current {% endif %}">
            <a href="{{ item.url | absolute_url }}">{{ item.title }}</a>
            <ul>
                {% for subitem in item.menu %}
                <li {% if subitem.url == page.url %} class="current" {% endif %}>
                    <a href="{{ subitem.url | absolute_url }}">{{ subitem.title }}</a>
                </li>
                {% endfor %}
            </ul>
        {% else %}
        <li {% if item.url == page.url %} class="current" {% endif %}>
            <a href="{{ item.url | absolute_url }}">{{ item.title }}</a>
        </li>
        {% endif %}
    {% endfor %}
    </ul>
</nav>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
jekyll-theme-drop-0.1.3 _includes/navigation.html
jekyll-theme-consulting-0.1.0 _includes/navigation.html