Sha256: 69dfd18ce905abe657ba1479727ee9aa7d7074743d2dd33b7bd7a919d98a8c64

Contents?: true

Size: 710 Bytes

Versions: 1

Compression:

Stored size: 710 Bytes

Contents

---
layout: default
---

<div class="row books">
  {% assign books = site.posts | where: 'layout', 'book' %}
  {%- for book in books -%}
    <a href="{{ book.url }}">
      <div class="col book">
        <img
          src="{{ book.image.path | thumbnail: 212, 300 }}"
          alt="{{ book.image.description | default: book.title }}"
          loading="lazy"
          />

        <h2>{{ book.title }}</h2>
        <p>{{ book.author | join: ', ' }}</p>

        {%- if book.payment_url -%}
        <a
          href="{{ book.payment_url }}"
          class="btn btn-success btn-block">
          {{ site.i18n.book.payment_url }}
        </a>
        {%- endif %}
      </div>
    </a>
  {%- endfor %}
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
editorial-autogestiva-jekyll-theme-0.2.4 _layouts/home.html