This commit is contained in:
2023-08-08 15:58:07 +03:00
parent add9436924
commit bd66969d84
33 changed files with 422 additions and 1331 deletions
-16
View File
@@ -1,16 +0,0 @@
{% extends 'base.html' %} {% block content %} {% set section=
get_section(path="blog/_index.md")%} {% for year,posts in section.pages |
sort(attribute="date") | reverse | group_by(attribute="year")%}
<div class="archive">
<h2>{{ year }}</h2>
<ul>
{% for post in posts %}
<li>
<time> {{post.date | date(format="%d-%h")}} </time>
<a href="{{ post.permalink }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
</div>
{% endfor %} {% endblock content %}