-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·48 lines (46 loc) · 1.1 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
---
title: Dillon Hafer
---
{% include showcase.html %}
{% include greeting.html %}
{% if site.posts != empty %}
<div class="recent-posts">
<h1>Recent Posts</h1>
{% for post in site.posts limit: 6 %}
{% 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="{{ 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="/posts">View More...</a>
</ul>
</div>
{% endif %}
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "WebSite",
"name" : "Dillon Hafer",
"url" : "https://www.dillonhafer.com"
}
</script>