Sha256: e1c1658078b7b2e6a650dd0a4fe7589610d4a89e8fea19c74dee3298a6fd91b5

Contents?: true

Size: 877 Bytes

Versions: 1

Compression:

Stored size: 877 Bytes

Contents

<nav class="nav">
    <ul class="list list--nav">
        {% for item in site.html_pages %}
        {% unless item.title == false or item.url contains "/page" or item.url contains "/404" %}
        <li class="item  item--nav{% if item.url == page.url %}  item--current{% endif %}">

            {% if item.url contains '://' %}
            {% assign url = item.url %}
            {% else %}
            {% assign url = item.url | relative_url %}
            {% endif %}

            {% if item.collectionpage %}
            {% assign collectiondata = site.collections | where: "label", item.collectionpage | first %}
            <a href="{{ url }}">{{ collectiondata.title }}</a>
            {% else %}
            <a href="{{ url }}">{{ item.title }}</a>
            {% endif %}
        </li>
        {% endunless %}
        {% endfor %}
    </ul>
</nav>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
inkstream-0.1.4 _includes/nav-default.html