Sha256: 4c7aa8e52216501b29337f8a23404ca809504934a603b3e43324b0056e251933
Contents?: true
Size: 855 Bytes
Versions: 18
Compression:
Stored size: 855 Bytes
Contents
{% assign info = page.type | prepend: '_' | append: '-info' %} {% assign chap = page.type | prepend: '_' | append: '-chapter' %} {% assign weight = page.type | prepend: '_' | append: '-weight' %} {% assign chapter = page.chapter | replace: ' ','-' | downcase %} {% assign bPath = page.collection | prepend: '/svg/' %} {% 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 }}"> {{ cDivs }} </h5> {%- if page.icon -%} <div class="block _page-icon {{ chapter | prepend: '--'}}"> {% include {{ bPath }}/{{ cPath }} %} </div> {%- endif -%} <h5 class="title {{ weight }}"> {{ page.weight | slice: 0,5 }} </h5> </div>
Version data entries
18 entries across 18 versions & 1 rubygems