-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (53 loc) · 1.81 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
---
<!DOCTYPE html>
<html>
<head>
{% include head.html %}
{% include title.html %}
<link rel="stylesheet" href="{{ site.baseurl }}/css/index.css">
</head>
<body class="index">
{% include header.html %}
<main class="index main" role="main">
<div class="index__inner">
<nav>
<ul class="index__articles articles">
{% for post in site.posts %}
<li class="articles__article article">
<a class="article__link" href="{{ post.url | remove_first:'/' | remove_first:'index.html' }}">
<h1 class="article__title">{{ post.title }}</h1>
<time class="article__pubdate">{{ post.date | split:" " | first }}</time>
{% if post.author %}
<span class="article__author">{{ post.author }}</span>
{% endif %}
<ul class="article__tags tags">
{% assign tags = post.tags | sort %}
{% for tag in tags %}
<li class="tags__tag tag">
<span class="tag__text">#{{ tag }}</span>
</li>
{% endfor %}
</ul>
</a>
</li>
{% endfor %}
</ul>
</nav>
<ul class="index__tags tags">
{% assign tags = site.tags | sort %}
{% for tag in tags %}
{% assign name = tag[0] %}
{% assign post = tag[1] %}
<li class="tags__tag tag">
<a class="tag__link" href="{{ site.baseurl }}/tag/?q={{ name }}">
<span class="tag__text">#{{ name }}</span><!--
--></a>
</li>
{% endfor %}
</ul>
</div>
</main>
{% include footer.html %}
</body>
</html>