-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
37 lines (26 loc) · 879 Bytes
/
blog.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
36
37
---
layout: default
title: Blog
---
<h1>Latest Posts</h1>
<div class="longform-text">
<p>If you want, write some text introducing your blog posts.</p>
<p>You can even write some more text here.</p>
<hr>
{% for post in site.posts %}
<h3>{{ post.date | date_to_string }}</h3>
<h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
{% if post.authors %}
{% if post.authors.size > 2 %}
<h3>By {{ post.authors | join: ", " }}</h3>
{% else %}
<h3>By {{ post.authors | join: " and " }}</h3>
{% endif %}
{% endif %}
<p>{{ post.excerpt }}</p>
<p class="read-more"><a href="{{ post.url | relative_url }}">Read more</a></p>
{% unless forloop.last == true %}
<hr>
{% endunless %}
{% endfor %}
</div>