forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
33 lines (30 loc) · 808 Bytes
/
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
---
layout: default
---
<div class="posts">
{% for post in site.posts %}
<article class="post">
<h1><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
<small>
{% if site.disqus %}
<a href="{{ post.url }}#disqus_thread"></a>
{% endif %}
{% if post.tags.size > 0 %}
Tags:
{% for tag in post.tags %}
<a href="/tag/{{ tag }}">{{ tag }} </a>
{% endfor %}
{% endif %}
</small>
<div class="entry">
{% if post.summary %}
{{ post.summary }}
{% else %}
{{ post.excerpt}}
{% endif %}
</div>
<br/>
<a href="{{ site.baseurl }}{{ post.url }}" class="read-more">Read More</a>
</article>
{% endfor %}
</div>