-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
title: "Posts in 2025-01" | ||
permalink: "/2025/01" | ||
layout: archive | ||
author_profile: false | ||
--- | ||
|
||
{% assign postsInYear = site.posts | where_exp: "item", "item.hidden != true" | group_by_exp: 'post', 'post.date | date: "%Y-%m"' %} | ||
{% assign postsIn202501 = postsInYear | where: 'name', '2025-01' %} | ||
|
||
{% assign entries_layout = page.entries_layout | default: 'list' %} | ||
{% for year in postsIn202501 %} | ||
<section id="{{ year.name }}" class="taxonomy__section"> | ||
<h2 class="archive__subtitle">{{ year.name }}</h2> | ||
<div class="entries-{{ entries_layout }}"> | ||
{% for post in year.items %} | ||
{% include archive-single.html type=entries_layout %} | ||
{% endfor %} | ||
</div> | ||
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} ↑</a> | ||
</section> | ||
{% endfor %} |