mirror of
https://github.com/Mabbs/mabbs.github.io
synced 2025-09-10 04:15:23 +02:00
Restore deleted repositories
This commit is contained in:
27
archives.md
Normal file
27
archives.md
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
layout: default
|
||||
title: Archives
|
||||
---
|
||||
|
||||
# Archives
|
||||
|
||||
* * *
|
||||
|
||||
{% for post in site.posts %}
|
||||
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
|
||||
{% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
|
||||
{% if forloop.first %}
|
||||
|
||||
## {{ this_year }}
|
||||
|
||||
{% endif %}
|
||||
|
||||
- {{ post.date | date: "%Y/%m/%d" }} - [{{ post.title }}{% if post.layout == "encrypt" %} [加密] {% endif %}]({{ post.url }})
|
||||
|
||||
{% if forloop.last %}
|
||||
{% else %}
|
||||
{% if this_year != next_year %}
|
||||
|
||||
## {{next_year}}
|
||||
|
||||
{% endif %} {% endif %} {% endfor %}
|
Reference in New Issue
Block a user