Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (27 sloc) 815 Bytes
---
layout: default
title: Home
notitle: true
---
<h2>News</h2>
<ul class="news list-unstyled">
{% for post in site.posts limit: site.front_page_news %}
{% if post.shortnews %}
<li class="shortnews">
<span class="date">{{ post.date | date_to_long_string }}</span>
{{ post.content }}
</li>
{% else %}
<li class="bloglink">
<span class="date">{{ post.date | date_to_long_string }}</span>
<a href="{{ post.url }}">&raquo; {{ post.title }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
{% assign numposts = site.posts | size %}
{% if numposts >= site.front_page_news %}
<p><a href="{{ site.base }}/blog/">Older posts&hellip;</a></p>
{% else %}
<p><a href="{{ site.base }}/oldnews.html">Older news posts&hellip;</a></p>
{% endif %}