Sha256: 950aa812c88967fb5e8159693ebca95616e1bf3f2bb6af73679a82e604e02224

Contents?: true

Size: 832 Bytes

Versions: 4

Compression:

Stored size: 832 Bytes

Contents

<div class="col browse book">

  <div class="block browse-label head">
    <p><strong>Book</strong></p>
  </div>

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

  {% for page in loop %}

  {% assign weight = page.weight | append: ' ' %}
  {% assign book = page.label %}
  {% assign title = book | prepend: weight %}
  {% assign url = book | prepend: '/' %}

    {%- unless page.label == 'posts' -%}

      {% if page.live %}

        <div class="block browse-lnk">
          <a href="{{ url }}" class="lnk browse-book book-{{ book }}">{{ title | truncate: 13 }}</a>
        </div>

        {% else %}

        <div class="block browse-lnk">
          <a href="/" class="lnk browse-book book-{{ book }} draft">{{ title | truncate: 13 }}</a>
        </div>

      {% endif %}

    {%- endunless -%}

  {% endfor %}

</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
futuro-0.7.4 _includes/html/overlay/browse/book.liquid
futuro-0.7.3 _includes/html/overlay/browse/book.liquid
futuro-0.7.2 _includes/html/overlay/browse/book.liquid
futuro-0.7.1 _includes/html/overlay/browse/book.liquid