Sha256: fe4bf281eb743c45dedbff737da432bc8ff115f4cd25ba2a57d104c9981b19de

Contents?: true

Size: 820 Bytes

Versions: 4

Compression:

Stored size: 820 Bytes

Contents

<nav id="nav">
    <ul>
    {%- for item in include.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 -%}
    {% include language.html %}
    </ul>
</nav>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-theme-twenty-0.1.12 _includes/navigation.html
jekyll-theme-twenty-0.1.11 _includes/navigation.html
jekyll-theme-twenty-0.1.10 _includes/navigation.html
jekyll-theme-twenty-0.1.9 _includes/navigation.html