Sha256: c9ebb42d6711d541e518e6ec49e783541063a990abd287e64c2ba6c3b861e788
Contents?: true
Size: 972 Bytes
Versions: 20
Compression:
Stored size: 972 Bytes
Contents
{% assign info = page.type | append: '-info' %} {% assign chap = page.type | append: '-chapter' %} {% assign weight = page.type | append: '-weight' %} {% assign chapter = page.chapter | replace: ' ','-' | downcase %} {% assign bPath = page.collection | prepend: '/artwork/' %} {% assign cPath = chapter | append: '/icon.svg' %} {% assign cWrap = page.chapter | prepend: '<div>' | append: '</div>' %} {% assign cDivs = cWrap | split: ' ' | join: '</div><div>' %} <div class="block {{ info }}"> <h5 class="title {{ chap }} {{ chapter }}"> {{ cDivs }} </h5> {%- if page.icon -%} <div class="block page-icon {{ chapter }}"> {%- if site.setup.install == 'book' -%} {% include {{ cPath | prepend: '/artwork/' }} %} {%- else -%} {% include {{ bPath }}/{{ cPath }} %} {%- endif -%} </div> {%- endif -%} <h5 class="title {{ weight }} {{ chapter }}"> {{ page.weight | slice: 0,5 }} </h5> </div>
Version data entries
20 entries across 20 versions & 1 rubygems