Sha256: 454448e21ecff2272e7babb74c1824cb72444824318ac2abdb75f7c593825197
Contents?: true
Size: 612 Bytes
Versions: 19
Compression:
Stored size: 612 Bytes
Contents
{% assign loop = site.[include.for] | sort: 'weight' %} {% for item in loop %} {% assign longurl = item.url | prepend : site.url | replace : '.html','' %} {% assign shorturl = item.url | replace : '.html','' %} {% assign longurl = longurl | replace : '/index','' %} {% assign shorturl = shorturl | replace : '/index','' %} {% assign chapter = item.chapter | replace : ' ','-' | downcase %} { "book" : "{{ item.collection }}", "chapter" : "{{ chapter }}", "title" : "{{ item.title }}", "shorturl" : "{{ shorturl }}", "longurl" : "{{ longurl }}" }, {% endfor %}
Version data entries
19 entries across 19 versions & 1 rubygems