forked from muan/site
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
24 lines (23 loc) · 743 Bytes
/
index.html
File metadata and controls
24 lines (23 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
layout: index
---
<ul class="posts">
{% for post in site.posts %}
<li class="post">
<a href="{{ post.url }}" class="post-link {% if post.cover %}has-cover{% endif %}">
{% if post.cover %}
<div class="post-cover" style="background-image: url({{ post.cover }});" /></div>
{% endif %}
<div class="mark"></div>
<h2 class="post-title">
{{ post.title }}<br />
</h2>
<span class="meta">
{{post.content | number_of_words}} words<br />
Posted <time data-time="{{ post.date }}" title="{{ post.date }}">{{ post.date | date_to_string }}</time>
</span>
<p class="excerpt">{{ post.excerpt | strip_html | strip_newlines }}</p>
</a>
</li>
{% endfor %}
</ul>