Mercurial > web-octave
view news.md @ 112:fb8011d4dd6f
Minor style fix.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Mon, 07 Nov 2016 22:33:02 +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>