Sha256: ea0d4367f90b92a75062b2afe7ef82eee83bb47aed576b0050efb187d22e28e7

Contents?: true

Size: 1.19 KB

Versions: 3

Compression:

Stored size: 1.19 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">
        <div class="pan-post-list--body">
          <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>
  </div>
  {% endfor %}
</section>

{% include pagination.html %}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
panthera-jekyll-1.3.6 _includes/posts/index.html
panthera-jekyll-1.3.5 _includes/all-posts.html
panthera-jekyll-1.3.4 _includes/all-posts.html