-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
index.html
55 lines (46 loc) · 1.7 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
47
48
49
50
51
52
53
54
---
layout: default
menu: home
css: ['index.css', 'sidebar-popular-repo.css']
---
<section class="jumbotron">
<div class="container">
<h1>{{ site.subtitle }}</h1>
<div id="jumbotron-meta-info">
{% for nav in site.labels %}
<span class="meta-info-index hvr-grow">
<a href="{{ nav.href }}" title="{{ nav.label }}" target="{{ nav.target | default: _self }}">{{ nav.label }}</a>
</span>
{% endfor %}
</div>
</div>
</section>
<section class="content container">
<div class="row">
<!-- Post List -->
<div class="col-md-8">
<ol class="post-list">
{% for post in paginator.posts %}
{% if post.category != 'gitchat' and post.category != 'geektime' %}
<li class="post-list-item">
<h2 class="post-list-title">
<a class="hvr-underline-from-center" href="{{ site.url }}{{ post.url }}">{{ post.title }}</a>
</h2>
<p class="post-list-description">
{{ post.excerpt | strip_html | strip }}
</p>
<p class="post-list-meta">
<span class="octicon octicon-calendar"></span> {{ post.date | date: "%Y/%m/%d" }}
</p>
</li>
{% endif %}
{% endfor %}
</ol>
<!-- Pagination -->
{% include pagination.html %}
</div>
<div class="col-md-4">
{% include sidebar-popular-repo.html %}
</div>
</div>
</section>