-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
36 lines (36 loc) · 1.08 KB
/
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
34
35
36
---
layout: default
title: azalea says
---
{% for post in site.posts limit:3 %}
<div class="wrapper">
<h1><a href="{{ post.url }}">{{ post.title }}</a></h1>
<span class="post-date">{{ post.date | date:"%b %e, %Y" }}</span>
{% if post.excerpt %}
<p>{{post.excerpt}}</p>
<p><a class="btn small" href="{{ post.url }}"> >>> </a></p>
{% else %}
{{ post.content }}
{% for tag in post.tags %}
<a class="label" href="/tag/#{{ tag }}">{{ tag }}</a>
{% endfor %}
{% endif %}
</div>
{% endfor %}
<div class="wrapper">
<ul class="postsList">
{% for post in site.posts limit: 5 offset:3 %}
<li><span>{{ post.date | date: "%b %d, %Y" }}</span> <a href="{{ post.url }}">{{ post.title }}</a></li>
{% endfor %}
<li><span>{{ site.posts.size }} posts</span><a class="btn" href="/archive/"> >>> </a></li>
</ul>
</div>
<div class="wrapper">
<div class="tag-cloud">
{% for tag in site.tags %}
{% if tag[1].size > 1 %}
<a href="/tag/#{{ tag | first }}">{{ tag | first }}<span>{{ tag[1].size }}</span></a>
{% endif %}
{% endfor %}<a href="/tag"> >>> </a>
</div>
</div>