-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
35 lines (30 loc) · 1.19 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
---
layout: default
robots: noindex
---
<div class="main-post-list">
<ol class="post-list">
{% for post in paginator.posts %}
<li>
<h2 class="post-list__post-title post-title"><a href="{{ site.baseurl }}{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
<p class="excerpt">{{ post.excerpt | strip_html }}…</p>
<div class="post-list__meta">
<time datetime="{{ post.date | date: "%Y-%m-%d %H:%M" }}" class="post-list__meta--date date">
{% if post.authors.size > 0 %}
by <span style="font-weight: bold; color:#868686">
{{ post.authors | array_to_sentence_string }}</span> on
{% endif %}
{{ post.date | date: "%-d %b %Y" }}</time>
{% if post.tags.size > 0 %}
<span class="post-meta__tags">/ {% for tag in post.tags %}<a href="{{ site.baseurl }}/tags/#{{ tag }}">{{ tag }} </a>/ {% endfor %}</span>
{% endif %}
</div>
<hr class="post-list__divider">
</li>
{% endfor %}
</ol>
<hr class="post-list__divider ">
{% if paginator.previous_page or paginator.next_page %}
{% include pagination.html %}
{% endif %}
</div>