-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (38 loc) · 988 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
---
title: Herring Cove
---
{% include showcase.html %}
{% include greeting.html %}
{% if site.posts != empty %}
<div class="recent-posts">
<h1>Recent Posts</h1>
{% for post in site.posts limit: 3 %}
{% if forloop.first %}
{% assign add_class = 'most-recent' %}
{% capture fresh_tag %}
<span class="badge"><smaller>FRESH</smaller></span>
{% endcapture %}
{% endif %}
<ul class="homepage-posts {{ add_class }}">
<li>
<span>
<h4>
<a href="{{ site.baseurl }}/{{ post.url }}">
{{ post.title }}
</a>
{{ fresh_tag }}
<time class="pull-right">
{{ post.date | date_to_string | date: "%b %-d, %Y" }}
</time>
</h4>
</span>
</li>
</ul>
{% assign add_class = '' %}
{% assign fresh_tag = '' %}
{% endfor %}
<ul>
<a href="{{ site.baseurl }}/list.html">View More...</a>
</ul>
</div>
{% endif %}