22 lines
645 B
HTML
22 lines
645 B
HTML
|
---
|
||
|
layout: default
|
||
|
nav_pill: news
|
||
|
---
|
||
|
{% for post in site.posts %}
|
||
|
{% unless forloop.first %}
|
||
|
<hr>
|
||
|
{% endunless %}
|
||
|
<h1>{{ post.title }}</h1>
|
||
|
<p><strong>{{ post.date | date_to_string }}{% if post.author %} by {{ post.author }}{% endif %}</strong></p>
|
||
|
{% if forloop.first %}
|
||
|
{{ post.content }}
|
||
|
<p><a href="{{ post.url }}">Permalink</a></p>
|
||
|
{% else %}
|
||
|
{{ post.excerpt }}
|
||
|
<p><a href="{{ post.url }}">Read more...</a></p>
|
||
|
{% endif %}
|
||
|
{% else %}
|
||
|
<p>No news</p>
|
||
|
{% endfor %}
|
||
|
</ul>
|