Sha256: 3094329ad409e2178bc5170e874d62d93c65249bc1a2e8aff9e478fc3738327f

Contents?: true

Size: 563 Bytes

Versions: 2

Compression:

Stored size: 563 Bytes

Contents

<h3>Related posts</h3>
<ul class="list  list--posts">
  {% for page in site.related_posts limit: 3 %}
    {% assign has_related = true %}
    <li class="item  item--post">
      <article class="article  article--post  typeset">

        <h4><a href="{{ page.url }}" title="Related post - {{ page.title }}">{{ page.title }}</a></h4>
        {% include post-meta.html %}
        {{ page.excerpt | markdownify | truncatewords: 20 }}

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

  {% if has_related != true %}
    <p>There are no related posts</p>
  {% endif %}
</ul>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alembic-jekyll-theme-2.0.3 _includes/post-related.html
alembic-jekyll-theme-2.0.2 _includes/post-related.html