forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
47 lines (38 loc) · 1.04 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
40
41
42
43
44
45
46
---
layout: default
css: ['index.css', 'sidebar-popular-repo.css']
---
<section class="jumbotron">
</section>
<section class="content container">
<div >
<ol class="post-list">
<div class="row">
{% for post in paginator.posts %}
<li class="post-list-item col-md-4">
<a href="{{ post.url }}"><img class="post-list-image" src="{{ post.image.href }}"></a>
<p class="post-list-meta">
<span class="octicon octicon-calendar"></span> {{ post.date | date: "%Y/%m/%d" }}
</span>
{% assign text = post.content %}
{% include read_time.html %}
</p>
<h3 class="post-list-title">
<a href="{{ post.url }}">{{ post.title }}</a>
</h3>
{% for category in post.categories %}
<p class="post-category">
<a href="/blog/categories/#{{ category | slugify }}">
<span class="category octicon octicon-tag"></span> {{ category }}
</a>
</p>
{% endfor %}
</p>
</li>
{% endfor %}
</div>
</ol>
<!-- Pagination -->
{% include pagination.html %}
</div>
</section>