make better room for news
This commit is contained in:
parent
06ccf8a100
commit
ddc4cd437d
3 changed files with 63 additions and 48 deletions
13
_includes/past-news.html
Normal file
13
_includes/past-news.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{% assign count = site.posts | size %}
|
||||
{% if count > 1 %}
|
||||
<br />
|
||||
<h3>Äldre inlägg</h3>
|
||||
|
||||
{% for post in site.posts | offset: 1%}
|
||||
|
||||
<div class="pastevents" {% if forloop.last == true %}style="border:none"{% endif %}>
|
||||
<p>{{ post.date | date: '%Y-%m-%d' }}<br />
|
||||
<a href="{{ event.url }}"><strong>{{ post.title }}</strong></a>
|
||||
</p>
|
||||
</div> {% endfor %}
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue