Sha256: b1a060b199982610d5e13bfdbb470125830b408d029f9ced1d8fc81d4694eb46

Contents?: true

Size: 703 Bytes

Versions: 5

Compression:

Stored size: 703 Bytes

Contents

---
layout:   post
---
<div class="row">
  {% for post in site.posts %}
    {% assign loopindex = forloop.index | modulo: 3 %}
    {% if loopindex == 0 %}
      <div class="4u$ 12u$(medium)">
    {% else %}
      <div class="4u 12u$(medium)">
    {% endif %}
      <a href="{{ post.url | relative_url }}">
        <div class="box">
          <h3>{{ post.title }}</h2>
          {% if post.date %}<p>{{ post.date | date_to_string }}</p>{% endif %}
          {% if post.image %}<span class="image fit"><img src="{{ site.baseurl }}/{{ post.image }}" alt="" /></span>{% endif %}
          <p>{{ post.excerpt | strip_html | truncatewords: 15 }}</p>
        </div>
      </a>
    </div>
  {% endfor %}
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fortyone-jekyll-theme-1.1.0 _layouts/allposts.html
fortyone-jekyll-theme-1.0.4 _layouts/allposts.html
fortyone-jekyll-theme-1.0.3 _layouts/allposts.html
fortyone-jekyll-theme-1.0.2 _layouts/allposts.html
fortyone-jekyll-theme-1.0.1 _layouts/allposts.html