Sha256: 1ffb7f51b551b37a6e90b87bf568b4096e3d3154e69113e943e1d57382c5389b

Contents?: true

Size: 947 Bytes

Versions: 1

Compression:

Stored size: 947 Bytes

Contents

<nav class="nav">
  <ul class="list list--nav">
    {% for item in site.pages %}
      {% unless item.title == false or item.url contains "/page" or item.url contains "/404.html" or item.url contains "/feed." or item.url contains ".json" %}
        <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 }}" title="Page - {{ collectiondata.title }}">{{ collectiondata.title }}</a>
      		{% else %}
            <a href="{{ url }}" title="Page - {{ item.title }}">{{ item.title }}</a>
      		{% endif %}
        </li>
      {% endunless %}
    {% endfor %}
  </ul>
</nav>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alembic-jekyll-theme-2.1.0 _includes/nav-default.html