Sha256: 88ad98414caf4201872dbbf0acb1a98e832f75dc750fa2bcbb5acf24741f2bd5

Contents?: true

Size: 1.14 KB

Versions: 2

Compression:

Stored size: 1.14 KB

Contents

<div class="posts">
    {% for post in paginator.posts %}
    <div class="post-teaser">
        {% if post.thumbnail %}
        <div class="post-img">
            <a aria-label="{{ post.title }}" href="{{ post.url | relative_url }}">
                <img alt="{{ post.title }}" src="{{ post.thumbnail | relative_url }}">
            </a>
        </div>
        {% endif %}
        <span>
          <header>
            <h1>
              <a aria-label="{{ post.title }}" class="post-link" href="{{ post.url | relative_url }}">
                {{ post.title }}
              </a>
            </h1>
            {% include post_info.html author=post.author date=post.date %}
          </header>
          {% if site.theme_settings.excerpt %}
              <div class="excerpt">
                  {% if site.theme_settings.excerpt == "truncate" %}
                     {{ post.content | strip_html | truncate: '250' | escape }}
                  {% else %}
                     {{ post.excerpt | strip_html | escape }}
                  {% endif %}
              </div>
          {% endif %}
      </span>
    </div>
    {% endfor %}
</div>

{% include blog_nav.html %}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-theme-type-on-strap-8.0.0 _includes/blog.html
jekyll-theme-type-on-strap-7.0.1 _includes/blog.html