Skip to content

Commit

Permalink
Create 2025-01.html
Browse files Browse the repository at this point in the history
  • Loading branch information
noriyotcp committed Jan 17, 2025
1 parent 8aa051d commit 9d647a7
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions 2025-01.html
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' }} &uarr;</a>
</section>
{% endfor %}

0 comments on commit 9d647a7

Please sign in to comment.