view news.md @ 138:88f15c74aa24

Announce OctConf 2018 with alert-box. * _includes/header.html: Add a closeable banner to each page. * _includes/head.html: Include foundation.alert.js.
author Kai T. Ohlhus <k.ohlhus@gmail.com>
date Mon, 22 Jan 2018 23:44:32 +0100
parents 1222b6208a70
children 585fc24ed727
line wrap: on
line source

---
layout: page
title: News
menu: true
---

<section>
  <div class="row">
    <div class="columns small-12">
      {% for post in site.posts %}
      <div class="panel callout">
        {% if post == site.posts.first %}
        <a class="right" href="{{ "/feed.xml" | relative_url }}">
          <span class="label warning">
            RSS
          </span>
        </a>
        {% endif %}
        {% if post.title == "News Archive" %}
        <h3 class="entry-title">
          <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
        </h3>
        {% else %}
        <h3 class="entry-title">
          <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
        </h3>
        <p class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</p>
        <div class="entry-content">
          {{ post.excerpt }}
        </div>
        {% endif %}
      </div>
      {% endfor %}
    </div>
  </div>
</section>