Sha256: 81f5fa5a1673bca8441acd0bd1257436f9cb33224bfacbc163489febb461d1b7

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

<section class="pan-post-list">
  {% for post in site.posts %}
  <div class="pan-post-list__item">
    <div class="pan-post-list--left">
      <div class="pan-post-list--image">
        {% if post.image %}
        <a href="{{ post.url | relative_url }}" style="background-image: url({{ post.image | relative_url }});"></a>
        {% else %}
        <a href="{{ post.url | relative_url }}"></a>
        {% endif %}
      </div>
    </div>
    <div class="pan-post-list--right">
      <div class="pan-post-list--content">
        <h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
        <p class="info">
          <span>{{ post.date | date: '%Y, %b %d' }}</span>
          &nbsp;&nbsp; - &nbsp;&nbsp;
          <span>{% capture words %}{{ post.content | number_of_words }}{% endcapture %}{% unless words contains "-" %}{{ words | plus: 250 | divided_by: 250 | append: " minute read" }}{% endunless %}</span>
        </p>
        <p class="desc">{{ post.content | strip_html | truncatewords: 20 }}</p>
      </div>
    </div>
  </div>
  {% endfor %}
</section>

{% include pagination.html %}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
panthera-jekyll-1.3.3 _includes/all-posts.html