aboutsummaryrefslogtreecommitdiff
blob: 903df25f5e338d0fec2c4afcc8ad239b57d4403e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<section id="news">
  {% for post in site.posts | limit: 2 %}
  <article class="newsitem">
    <h2 class="stick-top newsitem-bullet">
      <span class="fa fa-fw fa-chevron-circle-right" title="News item"> </span>
    </h2>
    <h2 class="stick-top newsitem-headline">
      <a href="{{ post.url }}">{{ post.title }}</a> <small>({{ post.date | date: "%b %-d, %Y" }})</small>
    </h2>
    <div class="newsitem-content">
      {{ post.excerpt }}
      {% if post.teaserlink %}
        <p>
          <span class="fa fa-fw fa-chevron-right"></span>
          <a href="{{ post.url }}">{{ post.teaserlink }}</a>
        </p>
      {% endif %}
    </div>
  </article>
  {% endfor %}
</section>