forked from spatstat/spatstat.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnews.html
29 lines (27 loc) · 856 Bytes
/
news.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
layout: master
title: News
full_posts: 5
---
<a href='feed.xml' class='float-right'><img src='/images/subscribe.png' alt='Subscribe to XML Feed'/></a>
{% for post in site.posts %}
{% if forloop.index < page.full_posts %}
<div class='post'>
<span class='date'>{{post.date | date_to_string}}</span>
<h1><a href='{{post.url}}'>{{post.title}}</a></h1>
<div class='body'>{{post.content}}</div>
<!-- <a href='{{post.url}}#disqus_thread'>View Comments</a> -->
</div>
{% else %}
{% if forloop.index == page.full_posts %}
<h3>Older Posts</h3>
<table class='post-list'>
{% endif %}
<tr>
<th><a href='{{ post.url }}'>{{ post.title }}</a></th>
<td>{{ post.date | date_to_string }}</td>
<!-- <td><a href='{{post.url}}#disqus_thread'>Comments</a></td> -->
</tr>
{% endif %}
{% endfor %}
</table>