-
Notifications
You must be signed in to change notification settings - Fork 0
/
posts.html
35 lines (29 loc) · 825 Bytes
/
posts.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
30
31
32
33
34
35
---
layout: newsletters
---
<div>
<div style="padding-left:20px"> <h3>Dominion League Posts</h3> </div>
{% for post in site.posts %}
{% if forloop.index > 6 %}
{% break %}
{% endif %}
<div class="content">
<p>
<span>{{post.date | date: "%B %d, %Y" }}</span>
/
<span>
by
{{post.author}}
</span>
/
<span>
</p>
<h4><a href="{{post.url}}">{{post.title}}</a></h4>
<h5>{{post.subtitle}}</h5>
<p>{{ post.content | strip_html | truncatewords: 100 }}</p>
<div class='spacing'></div>
<a class="button" href="{{post.url}}">Read more...</a>
</div>
{% endfor %}
</div>
<div class='four spacing'></div>