Sha256: 482f357596f468736b59d352836df280cbbbe68154cad855b243a49d2ecaa23a

Contents?: true

Size: 1.16 KB

Versions: 5

Compression:

Stored size: 1.16 KB

Contents

<div id="post-wrapper">
{% for post in paginator.posts %}
  <article class="post feed-title-excerpt-block disable-select" data-url="{{site.baseurl}}{{post.url}}">
    {% if post.thumbnail %}
      <a class="post-thumbnail" style="background-image: url({{"" | prepend: site.baseurl | append : post.thumbnail}})" href="{{post.url | prepend: site.baseurl}}"></a>
    {% else %}
    {% endif %}
    <div class="post-content">
      <h2 class="post-title"><a href="{{post.url | prepend: site.baseurl}}">{{post.title}}</a></h2>
      <p>{{ post.content | strip_html | truncatewords: 60 }}</p>
      <span class="post-date">{{post.date | date: '%Y, %b %d'}}&nbsp;&nbsp;&nbsp;—&nbsp;</span>
      <span class="post-words">{% capture words %}{{ post.content | number_of_words }}{% endcapture %}{% unless words contains "-" %}{{ words | plus: 250 | divided_by: 250 | append: " minute read" }}{% endunless %}</span>

    </div>
  </article>
{% endfor %}
</div>

{% case site.preferences.pagination.system %}
  {% when "infinitescroll" %}
    {% include InfiniteScroll.html %}
  {% when "pagination" %}
    {% include Pagination.html %}
  {% else %}
    {% include InfiniteScroll.html %}
{% endcase %}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
domain-jekyll-1.2.1 _includes/Postlist.html
domain-jekyll-1.2.0 _includes/Postlist.html
domain-jekyll-1.1.0 _includes/Postlist.html
domain-jekyll-1.0.4 _includes/Postlist.html
domain-jekyll-1.0.3 _includes/Postlist.html