Sha256: 7ae885d7c183780ba61b1077b1fefc40d5e84e824cd6c284c65ef79f1df6803a

Contents?: true

Size: 862 Bytes

Versions: 4

Compression:

Stored size: 862 Bytes

Contents

---
layout: default
---

{% assign books = site.posts | where: 'layout', 'book' %}

<div class="row books row-cols-1 row-cols-md-3 row-cols-lg-4">
  {%- for book in books -%}
    <article
      {% include_cached cart_controller.html product=book extra=book.author %}
      class="col book mb-3">
      <header class="position-relative">
        <div class="text-center">
          <img
            class="img-fluid"
            src="{{ book.image.path | thumbnail: nil, 300 }}"
            alt="{{ book.image.description | default: book.title }}"
            loading="lazy" />
        </div>

        <h1 class="f-4 mt-3">{{ book.title }}</h1>

        <a class="stretched-link" href="{{ book.url }}"></a>
      </header>

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

      {%- include_cached cart_add.html product=book -%}
    </article>
  {%- endfor %}
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
editorial-autogestiva-jekyll-theme-0.3.3 _layouts/home.html
editorial-autogestiva-jekyll-theme-0.3.2 _layouts/home.html
editorial-autogestiva-jekyll-theme-0.3.1 _layouts/home.html
editorial-autogestiva-jekyll-theme-0.3.0 _layouts/home.html