-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (35 loc) · 1017 Bytes
/
index.html
File metadata and controls
36 lines (35 loc) · 1017 Bytes
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
---
layout: default
title: Home
---
<section class="posts-grid">
<header>
<div class="posts-grid__header">
<h2>Latest Writings</h2>
<a href="{{site.baseurl}}/writings/" class="button">View All →</a>
</div>
<hr />
</header>
{% for post in collections.posts limit:10 %}
<article class="posts-grid__item">
<a href="{{ site.baseurl }}{{ post.url }}" class="posts-grid__link">
<h3 class="posts-grid__item-title">{{ post.data.title }}</h3>
</a>
<p class="posts-grid__summary">
{{ post.data.excerpt | default: post.content | excerpt }}
</p>
<div class="posts-grid__meta">
<time datetime="{{ post.date | date_to_xmlschema }}"
>{{ post.date | date_to_long_string_locale }}</time
>
<span>
- {% for category in post.data.categories %}
<a href="{{site.baseurl}}/categories/#{{category|slugify}}"
>{{ category }}</a
>
{% endfor %}
</span>
</div>
</article>
{% endfor %}
</section>