Sha256: 83edb0a310a9d363e8086c18f34710b5c3ebf530bbe2528d79e3e7a73d48020e

Contents?: true

Size: 702 Bytes

Versions: 9

Compression:

Stored size: 702 Bytes

Contents

{% assign loop = site.collections | sort: 'weight' %}

  {% for book in loop %}

    {% assign url = book.label | prepend: '/' | append: '/' %}
    {% assign svg = book.label | append: '.svg' %}

    {% if book.live %}
      {% assign href  = url %}
      {% assign class = book.label %}
    {% else %}
      {% assign href  = "#" %}
      {% assign class = "draft" %}
    {% endif %}

    {% unless book.label == 'posts' %}

      <div class="wrap book">

        <a class="link book {{ class }}" href="{{ href }}">

          <span class="title book {{ class }}">
            
            {{ book.label }}
          
          </span>

        </a>

      </div>

    {% endunless %}

  {% endfor %}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
futuro-1.1.8 _includes/html/page/layout/home.liquid
futuro-1.1.7 _includes/html/page/layout/home.liquid
futuro-1.1.6 _includes/html/page/layout/home.liquid
futuro-1.1.5 _includes/html/page/layout/home.liquid
futuro-1.1.4 _includes/html/page/layout/home.liquid
futuro-1.1.3 _includes/html/page/layout/home.liquid
futuro-1.1.2 _includes/html/page/layout/home.liquid
futuro-1.1.1 _includes/html/page/layout/home.liquid
futuro-1.1.0 _includes/html/page/layout/home.liquid