carlwgeorge / centos / centos.org

Forked from centos/centos.org 2 years ago
Clone
Blob Blame History Raw
<section class="home__content__planet">

  <h2>Around CentOS</h2>

  <ul>
  {% assign entries = site.data.centos.planet %}
  {% for i in entries limit:8 %}
  {%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
  <li><a href="{{ i.link }}">{{ i.title }}</a><br>{{ i.published | date: date_format }} &mdash; {{ i.summary | strip_html | slice: 0,150 }}...</li>
  {% endfor %}
  </ul>

</section>