This repository was archived by the owner on Jul 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy patharchive.html
81 lines (76 loc) · 3.22 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
layout: page
title: Archive
meta-description: All posts
permalink: /archive/
---
{% comment -%}
<!--
Jekyll date formats
https://learn.cloudcannon.com/jekyll/date-formatting/
-->
{% endcomment -%}
<section class="archive-page">
<h2>Hot Stories</h2>
<ol>
<li><a href="{{ "/2020/01/16/eth2-quick-update-no-7/" | prepend: site.baseurl }}" class="post-title">
eth2 quick update no. 7
</a></li>
<li><a href="{{ "/2019/12/23/ethereum-muir-glacier-upgrade-announcement/" | prepend: site.baseurl }}" class="post-title">
Ethereum Muir Glacier Upgrade Announcement
</a></li>
<li><a href="{{ "/2020/02/04/eth2-quick-update-no-8/" | prepend: site.baseurl }}" class="post-title">
eth2 quick update no. 8
</a></li>
<li><a href="{{ "/2020/01/13/validated-staking-on-eth2-1-incentives/" | prepend: site.baseurl }}" class="post-title">
Validated, staking on eth2: #1 - Incentives
</a></li>
<li><a href="{{ "/2020/01/08/update-on-the-vyper-compiler/" | prepend: site.baseurl }}" class="post-title">
Update on the Vyper Compiler
</a></li>
<li><a href="{{ "/2019/12/30/eth1x-files-state-of-stateless-ethereum/" | prepend: site.baseurl }}" class="post-title">
The 1.x Files: The State of Stateless Ethereum
</a></li>
<li><a href="{{ "/2020/02/12/validated-staking-on-eth2-2-two-ghosts-in-a-trench-coat/" | prepend: site.baseurl }}" class="post-title">
Validated, staking on eth2: #2 - Two ghosts in a trench coat
</a></li>
<li><a href="{{ "/2020/01/17/eth1x-files-digest-no-2/" | prepend: site.baseurl }}" class="post-title">
The 1.x Files: January call digest
</a></li>
<li><a href="{{ "/2020/01/28/eth1x-files-the-stateless-ethereum-tech-tree/" | prepend: site.baseurl }}" class="post-title">
The 1.x Files: The Stateless Ethereum Tech Tree
</a></li>
<li><a href="{{ "/2016/12/05/zksnarks-in-a-nutshell/" | prepend: site.baseurl }}" class="post-title">
zkSNARKs in a nutshell
</a></li>
</ol>
</section>
{% assign currentYear = site.posts[0].date | date: '%Y' %}
{% assign currentMonth = site.posts[0].date | date: '%B' %}
<section class="archive-page">
<h2>{{currentYear}}</h2>
<h3>{{ currentMonth }}</h3>
<ul>
{% for post in site.posts -%}
{% assign year = post.date | date: '%Y' %}
{% assign month = post.date | date: '%B' %}
{% if currentYear != year %}
{% assign currentYear = year %}
{% assign currentMonth = month %}
</ul>
<h2>{{currentYear}}</h2>
<h3>{{ post.date | date: '%B' }}</h3>
<ul>
{% elsif currentMonth != month %}
{% assign currentMonth = month %}
</ul>
<h3>{{ post.date | date: '%B' }}</h3>
<ul>
{% endif %}
<li>
{{post.date | date: '%d'}}:
<a href="{{ post.url | prepend: site.baseurl }}" class="post-title">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
</section>