Sha256: ee7184c2e2f0b12f35dcc45aec8b6119c8e7fc2e9453e935285656a33a6bcfaa

Contents?: true

Size: 928 Bytes

Versions: 3

Compression:

Stored size: 928 Bytes

Contents

---
layout: default
---

<div class="content">
  {{ 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

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-theme-hydeout-3.3.1 _layouts/index.html
jekyll-theme-hydeout-3.3.0 _layouts/index.html
jekyll-theme-hydeout-3.2.0 _layouts/index.html