-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·52 lines (50 loc) · 1.8 KB
/
Copy pathindex.html
File metadata and controls
executable file
·52 lines (50 loc) · 1.8 KB
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
---
layout: default
---
<div class="wrapper home-page-wrapper">
<div class="home-with-filter">
<div class="home-filter-sidebar">
{% include components/home-tag-filter.html %}
</div>
<main class="home-main">
<div class="home-default-view" id="home-default-view">
<div class="home">
{% if paginator.page == nil or paginator.page == 1 %}
{% include posts-list.html posts=paginator.posts featured=true %}
{% else %}
{% include posts-list.html posts=paginator.posts %}
{% endif %}
<hr>
<br>
<div class="row">
<div class="col-xs-4">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="btn previous">Prev</a>
{% endif %}
</div>
<div class="col-xs-4 text-center">
<p>{{ paginator.page }} of {{ paginator.total_pages }}</p>
</div>
<div class="col-xs-4 text-right">
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="btn next">Next</a>
{% endif %}
</div>
</div>
</div>
</div>
<div class="home-filter-view" id="home-filter-view" hidden>
<p class="home-filter-summary" id="home-filter-summary" aria-live="polite"></p>
<div class="post-grid-section">
<h2 class="post-grid-heading" id="home-filter-heading">Articles</h2>
<div class="post-grid" id="home-filter-grid">
{% for post in site.posts %}
{% include components/post-card.html post=post %}
{% endfor %}
</div>
<p class="home-filter-empty" id="home-filter-empty" hidden>No articles match this topic.</p>
</div>
</div>
</main>
</div>
</div>