-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
62 lines (53 loc) · 1.85 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
---
title: Blog
layout: default
description: Curating things you'll love using everyday
featured_image: "/images/social.jpg"
---
<section class="intro">
<div class="wrap">
<h1>Latest Posts</h1>
<p>Curating things you'll love using everyday</p>
</div>
</section>
<section class="blog">
<div class="content-wrap blog-wrap">
{% for post in paginator.posts %}
<article class="blog-post">
<a class="blog-post__link" href="{{ post.url | relative_url }}">
<div class="blog-post__image">
<img src="{{ post.featured_image | relative_url }}" alt="{{ post.title }}" />
</div>
<div class="blog-post__content">
<div class="blog-post__info">
<h2 class="blog-post__title">{{ post.title }}</h2>
<p class="blog-post__subtitle">
{{ post.date | date_to_long_string }}
</p>
</div>
</div>
</a>
</article>
{% endfor %}
</div>
</section>
{% if paginator.total_pages > 1 %}
<section class="pagination">
<div class="wrap">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | relative_url }}" class="button button--light pagination__prev"><i
class="fa fa-angle-left" aria-hidden="true"></i>
<span>Newer Posts</span></a>
{% endif %} {% if paginator.next_page %}
<a href="{{ paginator.next_page_path | relative_url }}" class="button button--light pagination__next"><span>Older
Posts</span>
<i class="fa fa-angle-right" aria-hidden="true"></i></a>
{% endif %}
</div>
</section>
{% endif %}
<section>
<a class="banner-bottom" href="https://www.idevaffiliate.com/31555/idevaffiliate.php?id=1309_0_1_441"
target="_blank"><img style="border:0px" src="https://www.idevaffiliate.com/31555/media/banners/970x250_summer19.jpg"
width="970" height="250" alt=""></a>
</section>