forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (27 loc) · 1.02 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
---
layout: default
---
<div class="posts">
{% for post in site.posts limit:50 %}
<article class="post">
<h1 class="post-title-above-tags">
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title | markdownify }}</a>
</h1>
<div>
{% for tag in post.tags %}
<a href="{{ site.baseurl }}{{ site.tag_page }}#{{ tag | slugify: 'pretty' | uri_escape }}" class="post-tag">{{ tag | slugify: 'pretty' }}</a>
{% endfor %}
</div>
<div class="entry">
{{ post.excerpt | rstrip | append: ' ...' | markdownify }}
</div>
<div class="date">
Posted {{ post.date | date: "%Y-%m-%d" }} {%if post.last_updated %}, Last Updated {{post.last_updated | last_updated : "Y%-%m-%d"}} {% endif %}
</div>
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
</article>
{% endfor %}
<article class="archive-link">
Older posts are available <a href="{{ site.baseurl }}/archive">in the archive</a>.
</article>
</div>