Sha256: 14592a3997c4bf134a8c7ab08917019bb64ce785308bc8e0623b899391430525

Contents?: true

Size: 1.21 KB

Versions: 1

Compression:

Stored size: 1.21 KB

Contents

<div class="block columns is-multiline">
  {% assign items = site.news | sort: 'date' | reverse  %}
  {% for news in items | limit: include.limit %}
  <div class="column is-full">
    <div class="news-card card box hover-box columns is-gapless is-mobile">
      <div class="news-info card-content">
        <h3 class="news-title has-text-left"><a href="{{ news.url | absolute_url }}">{{ news.title }}</a></h3>
        <p class="news-details has-text-left sans-serif" style="margin-bottom:0">
          <i class="far fa-calendar-alt"></i>&nbsp;
          <time datetime="{{ news.date | date: '%Y-%m-%d' }}">{{ news.date | date: "%B %e, %Y" }}</time>&nbsp;&nbsp;|&nbsp;&nbsp;<i class="far fa-user-circle"></i>&nbsp;{{ news.author }}
        </p>
        <p class="excerpt has-text-left">
          
          {% if news.excerpt %}
          {{ news.excerpt | strip_html }}
          
          {% else %}
          <br>
          <br>

          {{ news.content | strip_html | truncatewords: 40 }}
          {% endif %}

        </p>
        <p class="has-text-left margin-unset">
          <b><a class="serif" href="{{ news.url | absolute_url }}">Read More ></a></b>
        </p>
      </div>
    </div>
  </div>
  {% endfor %}
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
udt-itf-theme-0.1.0 _includes/blocks/news-cards.html