-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (31 loc) · 1.07 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
37
38
39
---
layout: default
---
<main id="content" class="content" role="main">
<div class="extra-pagination inner">
{% include pagination.html %}
</div>
{% for post in paginator.posts %}
<article class="post">
<header class="post-header">
<h2 class="post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
</header>
<section class="post-content">
{{ post.content}}
</section>
<footer class="post-meta">
{% if site.author %}
<img class="author-thumb" src="{{site.author.avatar}}" alt="Author's profile picture" nopin="nopin" />
{{ site.author.name }}
{% endif %}
{% if post.categories.size > 0 %}
{{ post.categories | array_to_sentence_string | prepend: 'on ' }}
{% endif %}
<time class="post-date" datetime="{{ post.date | date:"%Y-%m-%d" }}">
{{ post.date | date_to_string }}
</time>
</footer>
</article>
{% endfor %}
{% include pagination.html %}
</main>