Sha256: bededb8298992aaa09990005a5bf57958cd6de02c451a0ad618b7b79d1687d2c

Contents?: true

Size: 675 Bytes

Versions: 2

Compression:

Stored size: 675 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." %}
        <li class="item  item--nav{% if item.url == page.url %}  item--current{% endif %}">
          {% if item.collectionpage %}
      			{% assign collectiondata = site.collections | where: "label", item.collectionpage | first %}
      			<a href="{{ item.url }}">{{ collectiondata.title }}</a>
      		{% else %}
            <a href="{{ item.url }}">{{ item.title }}</a>
      		{% endif %}
        </li>
      {% endunless %}
    {% endfor %}
  </ul>
</nav>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
garth-jekyll-theme-0.5.0 _includes/site-nav.html
alembic-jekyll-theme-1.2.0 _includes/nav-default.html