Sha256: e9bf7f8ee8092085b92252fc751163c91b895e27466f851d41b8b7d998c371cb

Contents?: true

Size: 873 Bytes

Versions: 2

Compression:

Stored size: 873 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 }}">{{ collectiondata.title }}</a>
      		{% else %}
            <a href="{{ url }}">{{ item.title }}</a>
      		{% endif %}
        </li>
      {% endunless %}
    {% endfor %}
  </ul>
</nav>

Version data entries

2 entries across 2 versions & 1 rubygems

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