Skip to content

Commit af89d8b

Browse files
committed
一覧への表示内容をフィルタ
1 parent c2be98e commit af89d8b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

_pages/news.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ permalink: /news
88
</h2>
99

1010
<div class="max-w-248 mx-auto px-8 flex flex-wrap *:w-full gap-y-8 justify-between">
11-
{% for post in site.posts | where:"categories","news" %}
11+
{% assign news = site.posts | where: "categories", "news" %}
12+
{% for post in news %}
1213
<a href="{{ post.url }}">
1314
<time class="text-sm text-gray-600">{{ post.date | date:"%Y.%-m.%-d" }}</time>
1415
<p><strong>{{ post.title }}</strong></p>

_posts/2025-08-28-saikyo-coderdojo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: ぼくのかんがえたさいきょうのCoderDojoワークショップ
44
date: 2025-08-28T00:00:00 UTC+09:00
5-
categories: news
5+
categories: event
66
thumbnail: /img/events/saikyo-coderdojo.png
77
permalink: /events/saikyo-coderdojo/
88
---

0 commit comments

Comments
 (0)