-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (37 loc) · 901 Bytes
/
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
---
layout: default
title: Home
---
<main id="main" class="site-main">
{% if page.url == "/" %}
<div class="hero inner">
<p class="hero-text">{{ site.author.greetings }}</p>
</div>
{% endif %}
{% if page.url == "/" %}
<!-- Featured-->
<div id="featured-posts" class="featured-posts">
{% for post in site.posts %}
{% if post.featured == true %}
{% include featuredbox.html %}
{% endif %}
{% endfor %}
</div>
{% endif%}
<!-- Posts Index -->
<div class="post-feed inner">
{% if page.url == "/" %}
<div class="post-feed-title">Latest Articles</div>
{% endif %}
<div class="post-feed inner-wide">
{% for post in paginator.posts %}
{% include postbox.html %}
{% endfor %}
</div>
</div>
<!-- Pagination-->
{% include pagination.html %}
{% if site.mailchimp_url %}
{% include newsletter-box.html %}
{% endif %}
</main>