-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (32 loc) · 1001 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
---
layout: default
title: 徘徊の書
---
<div class="home">
{%- assign posts = site.posts | slice: 0, 20 -%}
{%- assign date_format = site.minima.date_format -%}
<ul class="post-list">
<!-- This loops through the paginated posts -->
{% for post in posts %}
<li>
<h1>
<a class="post-link" href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a>
</h1>
<p class="post-meta">
<time class="dt-published" datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">
{{ post.date | date: date_format }}
</time>
{%- if post.author -%}
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card"
itemprop="name">{{ post.author }}</span></span>
{%- endif -%}
</p>
{%- if site.show_excerpts -%}
<article>{{ post.excerpt }}</article>
{%- endif -%}
</li>
{%- endfor -%}
</ul>
</div>