forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
39 lines (37 loc) · 1.07 KB
/
index.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
38
39
---
layout: default
---
<div id="home" class="page-content wc-container">
<div class="posts">
{% for post in site.posts limit:10 %}
<div class="post">
<h3 class="post-title">
<a href="{{ post.url | prepend: site.baseurl | prepend: site.url }}">
{{ post.title }}
</a>
</h3>
<p class="post-meta">
{% if (post.categories.size > 0 %}
<span class="categories">
{{ post.categories | array_to_sentence_string }}
</span> |
{% endif %}
<span class="post-date">
{{ post.date | date: "%b %-d, %Y" }}
</span>
</p>
<p>
{{ post.excerpt }}
</p>
<p>
<a href="{{ post.url | prepend: site.baseurl | prepend: site.url }}" title="{{ post.title}}">
Read More
</a>
</p>
</div>
{% endfor %}
</div>
<div class="post-footer">
<div class="column-full"><a href="{{ '/blog' | prepend: site.baseurl | prepend: site.url }}">Blog archive</a></div>
</div>
</div>