-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.njk
44 lines (42 loc) · 1.04 KB
/
index.njk
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
---
layout: layouts/main.njk
title: TOP
---
<div class="top">
<p>
Clojure Camp は Clojure の情報を発信するWebメディアです。
<br />
進行中のプロジェクト:
</p>
<ul>
<li>
<a
href="https://github.com/neumann-tokyo/clojure-tutorial"
target="_blank"
rel="noopener"
>Clojure Tutorial</a
>
</li>
</ul>
<section>
<h2>最新記事</h2>
{% set postslist = search.pages("type=posts", "date=desc") %}
<div class="blog">
<div class="blog-container">
{% for post in postslist %}
<div class="blog-card">
<div class="blog-card-date">
{{ post.data.date | date('DATE') }}
</div>
<a href="{{ post.data.url }}" class="blog-card-title-link">
<h2 class="blog-card-title">
{{ post.data.title }}
</h2>
</a>
<div class="blog-card-description">{{ post.data.description }}</div>
</div>
{% endfor %}
</div>
</div>
</section>
</div>