-
Notifications
You must be signed in to change notification settings - Fork 72
/
archive.html
63 lines (50 loc) · 1.44 KB
/
archive.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
59
60
61
62
63
---
layout: default
title: Archive
permalink: /archive.html
exclude_from_nav: false
---
<div style="margin: 1rem auto;">
<h1 class="archive-header"></h1>
<div class="wf-container" style="margin-top: 80px;">
{% for post in site.posts %}
{% capture month %}{{ post.date | date: '%m%Y' }}{% endcapture %}
{% capture nmonth %}{{ post.next.date | date: '%m%Y' }}{% endcapture %}
{% if month != nmonth %}
{% if forloop.index != 1 %}</ul>{% endif %}
{% endif %}
<div class="wf-box">
<a id="route" href="{{ post.url | prepend: site.baseurl }}">
<div class="tglgede" style="
background-color: rgba(105, 105, 105, 0.44);
background-image: url({{post.image.url}});
background-position: left top;
background-repeat: no-repeat;
background-size: 100% 100%;
">
<p style="
background-color: rgba(0, 0, 0, 0.57);
padding: 30%;
color: #DADADA;
justify-content: center;
text-align: center;
margin-bottom: 0;
">
{{ post.date | date: '%B %Y' }}
</p>
</div>
</a>
<div class="content">
<a id="route" href="{{ post.url | prepend: site.baseurl }}">
<h3 style="padding: 5px 8px;
margin-bottom: 0;
background-color: #00bc8c;
color: #fff;
font-size: 15px;
border-top: 3px solid #03775A;">{{ post.title }}</h3>
</a>
</div>
</div>
{% endfor %}
</div>
</div>