summaryrefslogtreecommitdiffstats
path: root/blog/_includes/news.html
blob: e9f613807392055bd9549a827418d43e459d9d14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<section id="news">
  <h2>{% t home.latest_news %}</h2>
  {% for p in site.posts limit: 5 %}
    {% if p != page %}
      {% if include.sidebar %}
        {% include post-excerpt.html post=p sidebar=true %}
      {% else %}
        {% include post-excerpt.html post=p %}
      {% endif %}
    {% endif %}
  {% endfor %}
</section>