Sha256: 5c628e3221d0bdbe1d4ce305dec12b83dd39bbbf272150fa05e7c53cd855882b

Contents?: true

Size: 827 Bytes

Versions: 1

Compression:

Stored size: 827 Bytes

Contents

{% assign recent_post_limit = recent_post_limit | default: site.hematite.recent_post_limit | default: 8 %}

<ul class="recent-posts recent-posts-grid">
{% for post in site.posts limit:recent_post_limit %}
    <li>
        <h2>
            <a href="{{ post.url }}">{{ post.title }}</a>
            <span class="post-date">{{ post.date | date_to_string }}</span>
        </h2>
        <p class="post-description">{{ post.content | strip_html | truncate: 200 }}</p>
        <div class="tags">
            {% for tag in post.tags %}
                <a
                    href="{{ 'assets/html/all_tags.html' | relative_url }}#tag__{{ tag | uri_escape }}"
                    class="post-tag"
                >
                    {{ tag }}
                </a>
            {% endfor %}
        </div>
    </li>
{% endfor %}
</ul>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hematite-0.1.16 _includes/recent_posts.html