forked from dyutibarma/monochrome
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathindex.html
More file actions
21 lines (17 loc) · 668 Bytes
/
Copy pathindex.html
File metadata and controls
21 lines (17 loc) · 668 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
layout: default
---
<!-- Posts -->
<div id="posts">
{% for post in paginator.posts %}
<div class="post">
<h2><a href="{% if site.baseurl == "/" %}{{ post.url }}{% else %}{{ post.url | prepend: site.baseurl }}{% endif %}">{%if post.header %}{{ post.header }}{% else %}{{ post.title }}{% endif %}</a></h2>
<div class="by-line parent">
<time datetime="{{ post.date | date_to_xmlschema }}"> <i>{{ post.date | date_to_string }}</i> </time>
·
<span><i>{{ post.duration }}</i> </span>
</div>
<p>{{ post.content | strip_html | truncatewords:50 }}</p>
</div>
{% endfor %}
</div>