Github page clones from TETRIS-2000 repositionnary
This commit is contained in:
19
archive.html
Normal file
19
archive.html
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
layout: page
|
||||
title: Blog archive
|
||||
---
|
||||
<div class="page-content wc-container">
|
||||
<div class="post">
|
||||
<h1>Blog Archive</h1>
|
||||
{% for post in site.posts %}
|
||||
{% capture currentyear %}{{post.date | date: "%Y"}}{% endcapture %}
|
||||
{% if currentyear != year %}
|
||||
{% unless forloop.first %}</ul>{% endunless %}
|
||||
<h5>{{ currentyear }}</h5>
|
||||
<ul class="posts">
|
||||
{% capture year %}{{currentyear}}{% endcapture %}
|
||||
{% endif %}
|
||||
<li><a href="{{ post.url | relative_url }}">{{ post.title }}</a></li>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user