forked from chalatz/yellowblue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (58 loc) · 1.92 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
61
62
63
64
65
66
67
---
layout: default
---
{% comment %} <!-- Paginated posts --> {% endcomment %}
{% for post in paginator.posts %}
{% include teaser.html %}
{% endfor %}
{% comment %} <!-- Pagination Links --> {% endcomment %}
<div class="row">
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
<a class="pagination-link" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">←</a>
{% endif %}
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<span class="current-page">{{ page }}</span>
{% elsif page == 1 %}
<a class="pagination-link" href="{{ '/index.html' | prepend: site.baseurl | replace: '//', '/' }}">{{ page }}</a>
{% else %}
<a class="pagination-link" href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
{% endif %}
{% endfor %}
{% if paginator.next_page %}
<a class="pagination-link" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">→</a>
{% endif %}
</div>
{% endif %}
</div>
{% comment %} <!-- Modules --> {% endcomment %}
<div class="row front-page-modules-1">
<div class="module half-width">
<header class="block-module-header">
<h3>Module Title</h3>
</header>
<div class="module-body">
<p>Module content goes here</p>
</div>
</div>
<div class="module half-width">
<header class="block-module-header">
<h3>Module Title</h3>
</header>
<div class="module-body">
<p>Module content goes here</p>
</div>
</div>
</div>
<div class="row front-page-modules-2">
<div class="module full-width">
<header class="block-module-header">
<h3>Module Title</h3>
</header>
<div class="module-body">
<p>Module content goes here</p>
</div>
</div>
</div>