Sha256: 32850d3ce745afddc91241e5135895adddc01414e0a2e10cd5e5e0e194424342
Contents?: true
Size: 1.2 KB
Versions: 11
Compression:
Stored size: 1.2 KB
Contents
{% for book in site.data.books %} {% if book.Id == page.key %} {% assign authors_all = book.Author | split: '; ' %} Written by {% for author_raw in authors_all | limit: 3 %} {% assign author_firstlast = author_raw | split: ', ' %} <a href="{{BASE_PATH}}/authors/{{ author_firstlast[0] | slugify:'latin' }}-{{ author_firstlast[1] | slugify:'latin' }}" title="{{ author_firstlast | reverse | join: '' }}">{{ author_firstlast | reverse | join: " " }}</a> {% unless forloop.last == true %} + {% endunless %} {% endfor %} // Published in <a href="{{BASE_PATH}}/cities/{{ book.Place | slugify:'latin' }}" title="{{ book.Place }}">{{ book.Place }}</a> by <a href="{{BASE_PATH}}/publishers/{{ book.Publisher | slugify:'latin' }}" title="{{ book.Publihser }}">{{ book.Publisher }}</a> in {{ book.Date }}{% if book.Edition == book.Date %}. First edition{% elsif book.Edition != "" and book.Edition != nil %} // First published in {{ book.Edition }}{% endif %}{% if book.Archive != "" and book.Archive != nil %}// Retrieved by <a href="{{BASE_PATH}}/repositories/{{ book.Archive | slugify:'latin' }}" title="{{ book.Archive }}">{{ book.Archive }}</a>{% endif %} {% endif %} {% endfor %}
Version data entries
11 entries across 11 versions & 2 rubygems