-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·25 lines (20 loc) · 1.17 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
---
layout: default
---
<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="{{ post.url | prepend: site.baseurl | prepend: site.url }}" title="{{ post.title }}">{{ post.title }}</a></h2>
<span class="post-list__post-tags">{% for tag in post.tags %}<a href="{{ site.baseurl | prepend: site.url }}/tags/#{{ tag }}">#{{ tag }}</a> {% endfor %}</span>
<p class="excerpt">{{ post.excerpt | remove: '<p>' | remove: '</p>' | replace: '<br />', ' ' }}…</p>
<div class="post-list__meta"><time datetime="{{ post.date | date: "%-d %b %Y" }}" class="post-list__meta--date date">{{ post.date | date: "%-d %b %Y" }}</time> • <span class="post-meta__categories">on {% for catitem in post.categories %}<a href="{{ site.baseurl | prepend: site.url }}/categories/#{{ catitem }}">{{ catitem }}</a> {% endfor %}</span></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>