-
Notifications
You must be signed in to change notification settings - Fork 2
/
blog.html
43 lines (35 loc) · 1.15 KB
/
blog.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
---
permalink: blog/
layout: default
---
<main class="blog">
<section class="post-list">
{% for post in site.posts %}
<div class="post">
<img class="poster" src="{{post.poster.url}}" alt="{{post.poster.name}}">
<div class="post-preview">
<h2><a href="{{post.url}}">{{post.title}}</a></h2>
<p class="date">{{post.date | date: "%D"}}</p>
{% for tag in post.tags %}
<p class="meta"><a href="/tags/#{{tag}}">{{tag}}</a></p>
{% endfor %}
<p class="post-excerpt">{{post.excerpt}}</p>
</div>
</div>
{% endfor %}
</section>
<aside class="widgets">
<section class="tags">
<h3><< Tags >></h3>
<div class="tag-list">
{% for tag_glob in site.tags %}
<div class="tag-item"><a href="/tags/#{{tag_glob[0]}}">{{tag_glob[0]}}</a></div>
{% endfor %}
</div>
</section>
<section class="archive">
<h3>Archive</h3>
{% include archive.html %}
</section>
</aside>
</main>