Sha256: b54da38e1729b38c5900125fd26da50c821f090e36cd2c5b80bd65e0923164e2
Contents?: true
Size: 1.29 KB
Versions: 1
Compression:
Stored size: 1.29 KB
Contents
{% assign date_format = site.date_format | default: "%B %-d, %Y" %} <section class="postlist"> {% for post in paginator.posts %} {% if post.description %} {% assign description = post.description | markdownify | strip_html | truncatewords: 48 %} {% elsif post.description != false %} {% assign description = post.content | markdownify | strip_html | truncatewords: 48 %} {% endif %} <article class="post"> <a href="{{ post.url | relative_url }}"> {% if post.cover %} <div class="post-cover"> <img src="{{ post.cover | relative_url }}"> </div> {% endif %} <div class="post-details"> {% if post.tags and post.tags.size > 0 %} <ul class="post-tags"> {% for tag in post.tags %} <li><h4 class="post-tag">{{ tag }}</h4></li> {% endfor %} </ul> {% endif %} <h1 class="post-title">{{ post.title | markdownify | strip_html | truncatewords: 32 }}</h1> <h2 class="post-description">{{ description }}</h2> <div class="post-time"> <i class="ri-calendar-line"></i> <time>{{ post.date | date: date_format }}</time> </div> </div> </a> </article> {% endfor %} </section>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-theme-twail-1.0.0 | _includes/postlist.html |