-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·60 lines (54 loc) · 2.47 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
55
56
57
58
59
60
---
title: Oproject
layout: default
blogfeed: true
---
<!-- Main -->
<section class="wrapper style1">
<div class="container">
<div class="row double">
<div class="3u">
{% include sidebar.html %}
</div>
<div class="9u skel-cell-important">
<div id="content">
<!-- Content -->
<!-- Sidebar -->
{% for post in paginator.posts %}
<article>
<header>
<h2>{{ post.title }}</h2>
</header>
<div class="row">
<div class="8u">
<br>
<section class="box post">
<a href="#" class="image left"><img class="post-img-responsive" src="{{ site.baseurl }}{{ post.featured }}" alt="" /></a>
<div class="inner">{{ post.content }}</div>
</section>
</div>
</div>
<footer>
<h3><p>Posted {{ post.date | date_to_string }}</p></h3>
</footer>
</article >
{% endfor %}
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
<a href="/{% if paginator.previous_page != 1 %}page{{ paginator.previous_page }}{% endif %}">«</a>
{% endif %}
<a {% if paginator.page == 1 %} class="active" {% endif %}href="/">1</a>
{% for count in (2..paginator.total_pages) %}
<a {% if paginator.page == count %} class="active" {% endif %} href="/page{{ count }}">{{ count }}</a>
{% endfor %}
{% if paginator.next_page %}
<a href="/page{{ paginator.next_page }}">»</a>
{% endif %}
</div>
{% endif %}
</div>
</div>
</div>
</div>
</section>