mirror of
https://github.com/arcan1s/arcanis.me.git
synced 2025-04-24 15:27:17 +00:00
46 lines
1.3 KiB
HTML
46 lines
1.3 KiB
HTML
---
|
|
layout: default
|
|
title: Archive
|
|
comment: false
|
|
share: false
|
|
back: 2
|
|
hasTr: true
|
|
---
|
|
<body>
|
|
<div class="wrapper">
|
|
<header>
|
|
<h1>{{ page.title }}</h1>
|
|
</header>
|
|
<section>
|
|
|
|
{% for post in site.categories.en limit:1 %}
|
|
{% assign month = post.date | date: "%Y" %}
|
|
{% endfor %}
|
|
<label class="spoiler">
|
|
<input type="checkbox" tabindex="-1">
|
|
<div class="box">
|
|
<b>{{ month }}</b>
|
|
<span class="close" style="float:right;">(hide)</span><span class="open" style="float:right;">(show)</span>
|
|
<blockquote>
|
|
{% for post in site.categories.en %}
|
|
{% assign new_month = post.date | date: "%Y" %}
|
|
{% if new_month != month %}
|
|
</blockquote>
|
|
</div>
|
|
</label>
|
|
<label class="spoiler">
|
|
<input type="checkbox" tabindex="-1">
|
|
<div class="box">
|
|
<b>{{ new_month }}</b>
|
|
<span class="close" style="float:right;">(hide)</span><span class="open" style="float:right;">(show)</span>
|
|
<blockquote>
|
|
{% endif %}
|
|
{% assign month = post.date | date: "%Y" %}
|
|
<i>{{ post.date | date_to_string }}</i> »
|
|
<a href="#{{ post.short }}" class="anchor" name="{{ post.short }}"><span class="octicon octicon-link"></span></a>
|
|
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a> ({{ post.tags }})<br>
|
|
{% endfor %}
|
|
</blockquote>
|
|
</div>
|
|
</label>
|