forked from lilianweng/lil-log
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
28 lines (27 loc) · 825 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
---
layout: default
---
<div class="home other-pages">
<ul class="post-list">
{% for post in site.posts %}
<li>
{% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
<span class="post-meta">
{{ post.date | date: date_format }}
<span>
{% for tag in post.tags %}
{% capture tag_name %}{{ tag }}{% endcapture %}
<a class="post-tag" href="/lil-log/tag/{{ tag_name }}"><nobr>{{ tag_name }}</nobr> </a>
{% endfor %}
</span>
</span>
<h2>
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
{% if post.excerpt %}
{{ post.excerpt }}
{% endif %}
</h2>
</li>
{% endfor %}
</ul>
</div>