-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·48 lines (45 loc) · 1.62 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
---
layout: default
description: The personal site, blog, and portfolio of Anthony Gonzales, a developer who cares about the code.
---
<div class="container max-width home page">
<section>
<div class="section-separator">
<h2 class="section-title">Latest post</h2>
<hr class="section-title-bar" />
</div>
{% for post in site.posts limit: 1 %}
<article class="latest-blog-post">
<h2 class="latest-blog-post-title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
<div class="post-meta">
<time class="post-timestamp" itemprop="datePublished"> {{ post.date | date: "%B %d, %Y" }}</time>
{%- if page.last_modified_at -%}
<span class="post-meta-separator">•</span>
<div class="post-lastupdated">
Updated on <time itemprop="dateModified">{{ post.last_modified_at | date: "%B %d, %Y" }}</time>
</div>
{%- endif -%}
</div>
<div class="latest-blog-post-content">
{{ post.excerpt }}
</div>
</article>
{% endfor %}
</section>
<section>
<div class="section-separator">
<h2 class="section-title">Previous posts</h2>
<hr class="section-title-bar" />
</div>
<ul class="list-naked list-latest-posts">
{% for post in site.posts offset: 1 limit: 5 %}
<li class="blog-roll-title">
<a href="{{ post.url }}">{{ post.title }}</a>
<time class="blog-roll-post-timestamp">
{{ post.date | date: "%b %d, %Y" }}
</time>
</li>
{% endfor %}
</ul>
</section>
</div>