Sha256: 6191602dea8f37ec49450fe22518dd125cbfea6ea8c883abfdfafebf2280d26b
Contents?: true
Size: 931 Bytes
Versions: 4
Compression:
Stored size: 931 Bytes
Contents
<div class="col browse chapter"> <div class="block browse-label head"> <p>Chapter</p> </div> {% assign loop = site.collections | sort: 'weight' %} {% for page in loop %} {% if page.live %} {% assign label = page.label %} {% assign loop = site.[label] | sort: 'weight' %} <div class="block browse-chunk {{ label }}"> {% for page in loop %} {% if page.type == 'chapter' %} {% assign book = page.collection %} {% assign chapter = page.chapter | replace: ' ','-' | downcase %} {% assign weight = page.weight | slice: 0,3 %} <div class="block browse-lnk"> <a href="{{ page.url | replace: '/index.html','' }}" class="lnk browse-chapter book-{{ book }} chapter-{{ chapter }}">{{ weight }} {{ page.chapter | truncate: 14 }}</a> </div> {% endif %} {% endfor %} </div> {% endif %} {% endfor %} </div>
Version data entries
4 entries across 4 versions & 1 rubygems