Sha256: e7fe2e98ba30402b5efc7ae3f93b66faa2fa958f33f86cae7677edecc1ba85b3

Contents?: true

Size: 911 Bytes

Versions: 4

Compression:

Stored size: 911 Bytes

Contents

---
layout: default
---

<div class="content">
  {% for post in paginator.posts %}
  <article class="post-body">
    <h2 class="post-title">
      <a href="{{ site.baseurl }}{{ post.url }}">
        {{ post.title }}
      </a>
    </h2>
    {% include post-meta.html post=post %}

    {% if post.excerpt %}
      {{ post.excerpt }}
    {% else %}
      {{ post.content }}
    {% endif %}

    {% if post.excerpt %}
      {% comment %}Excerpt may be equal to content. Check.{% endcomment %}
      {% capture content_words %}
        {{ post.content | number_of_words }}
      {% endcapture %}
      {% capture excerpt_words %}
        {{ post.excerpt | number_of_words }}
      {% endcapture %}

      {% if content_words != excerpt_words %}
        <a href="{{ site.baseurl }}{{ post.url }}">More &hellip;</a>
      {% endif %}
    {% endif %}
  </article>
  {% endfor %}

  {% include pagination.html %}
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-theme-hydeout-3.1.3 _layouts/index.html
jekyll-theme-hydeout-3.1.2 _layouts/index.html
jekyll-theme-hydeout-3.1.1 _layouts/index.html
jekyll-theme-hydeout-3.1.0 _layouts/home.html