-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.html
79 lines (54 loc) · 1.73 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
68
69
70
71
72
73
74
75
76
77
78
79
---
layout: default
title: "Demo"
pagination:
enabled: true
---
<main>
<!-- Home Jumbotron
================================================== -->
<section class="intro full-width">
<div class="wrapintro">
<h1>AMP Affiliately Theme</h1>
<h2 class="lead">An AMP-ready Jekyll blog theme</h2>
<a class="btn" href="https://github.com/chriskyfung/amp-affiliately-jekyll-theme/" rel="noopener noreferrer" target="_blank">View on GitHub <i class='fab fa-github'></i></a>
</div>
</section>
<!-- Featured
================================================== -->
<section class="featured-posts">
<div class="section-title">
<h2><span>Featured</span></h2>
</div>
<div class="row listfeaturedtag">
{% for post in site.posts %}
{% if post.featured == true %}
{% include blocks/featured-box.html %}
{% endif %}
{% endfor %}
</div>
</section>
<!-- Posts Index
================================================== -->
{% if paginator.previous_page %}
{% if paginator.previous_page > 0 %}
<div id="jumptopageof"></div>
{% endif %}
{% endif %}
<section class="recent-posts row">
<div class="section-title">
<h2><span>All Stories</span></h2>
</div>
<div class="masonrygrid row listrecent">
{% for post in paginator.posts %}
{% include blocks/post-box.html %}
{% endfor %}
</div>
<!-- Pagination -->
<div class="bottompagination">
<span class="navigation" role="navigation">
{% include blocks/pagination.html %}
</span>
</div>
</section>
</main>