Sha256: ae20fe71dda83f0a18cc24e12a01894cb8956327ffc1ed4133a74396eafbce9e

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

---
layout: Page
---
<div id="post-wrapper">
{% for post in paginator.posts %}
  <article class="post feed-title-excerpt-block disable-select" data-url="{{site.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

1 entries across 1 versions & 1 rubygems

Version Path
domain-jekyll-1.3.0 _layouts/Home.html