forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
36 lines (35 loc) · 1.14 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
---
layout: blog-layout
use_math: true
---
<div class="posts">
{% for post in site.posts %}
<article class="post">
<header>
<div class="title">
<h2><a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h2>
</div>
<div class="meta">
<time class="published" datetime='{{ post.date | date: "%Y-%B-%e" }}'>{{ post.date | date: "%B %e, %Y" }}</time>
<!--<a href="#" class="author"><span class="name">Jane Doe</span><img src="images/avatar.jpg" alt="" /></a>-->
</div>
</header>
{% if post.main-post %}<a href="#" class="image featured"><img src="{{ post.main-image }}" alt="" /></a>{% endif %}
<p>{{ post.excerpt }}</p>
<footer>
<ul class="actions">
<li><a href="{{ site.baseurl }}{{ post.url }}" class="button medium">Continue Reading</a></li>
</ul>
<ul class="stats">
<li>
{% for tag in post.tags %}
<a href="{{ site.baseurl }}/tags/#{{ tag }}">{{ tag }}</a>
{% endfor %}
</li>
<!--<li><a href="#" class="icon fa-heart">28</a></li>
<li><a href="#" class="icon fa-comment">128</a></li>-->
</ul>
</footer>
</article>
{% endfor %}
</div>