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

Version Path
futuro-1.1.8 _includes/html/search/loop.liquid
futuro-1.1.7 _includes/html/search/loop.liquid
futuro-1.1.6 _includes/html/search/loop.liquid
futuro-1.1.5 _includes/html/search/loop.liquid
futuro-1.1.4 _includes/html/search/loop.liquid
futuro-1.1.3 _includes/html/search/loop.liquid
futuro-1.1.2 _includes/html/search/loop.liquid
futuro-1.1.1 _includes/html/search/loop.liquid
futuro-1.1.0 _includes/html/search/loop.liquid
futuro-1.0.9 _includes/html/search/loop.liquid
futuro-1.0.8 _includes/html/search/loop.liquid
futuro-1.0.7 _includes/html/search/loop.liquid
futuro-1.0.6 _includes/html/search/loop.liquid
futuro-1.0.5 _includes/html/search/loop.liquid
futuro-1.0.4 _includes/html/search/loop.liquid
futuro-1.0.3 _includes/html/search/loop.liquid
futuro-1.0.2 _includes/html/search/loop.liquid
futuro-1.0.1 _includes/html/search/loop.liquid
futuro-1.0.0 _includes/html/search/loop.liquid