Sha256: 91acf81b78ac481f19d09301ebff8698d20337558e0e4bd2211b0b6d3de028b5

Contents?: true

Size: 1.14 KB

Versions: 12

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.excerpt or site.theme_settings.excerpt %}
              <div class="excerpt">
                  {% if site.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

12 entries across 12 versions & 1 rubygems

Version Path
type-on-strap-2.3.3 _includes/blog.html
type-on-strap-2.3.1 _includes/blog.html
type-on-strap-2.3.0 _includes/blog.html
type-on-strap-2.2.6 _includes/blog.html
type-on-strap-2.2.5 _includes/blog.html
type-on-strap-2.2.4 _includes/blog.html
type-on-strap-2.2.1 _includes/blog.html
type-on-strap-2.1.2 _includes/blog.html
type-on-strap-2.1.0 _includes/blog.html
type-on-strap-2.0.3 _includes/blog.html
type-on-strap-2.0.2 _includes/blog.html
type-on-strap-2.0.0 _includes/blog.html