Skip to content

News/flutter news 20250708 #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions scripts/generate_article.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,18 @@ def generate_article_with_ai(articles):

## Frontmatter設定
```yaml
layout: ../../layouts/BlogPost.astro
title: 週刊開発者ニュース {today_str}号
slug: flutter-news-{today_str.replace('-', '')}
description: [今週の主要なトピックを2-3文で要約]
pubDatetime: {today_str}
author: kboy
---
title: "週刊ニュース {today_str}号"
slug: "flutter-news-{today_str.replace('-', '')}"
author: "kboy"
description: "[今週の主要なトピックを2-3文で要約]"
pubDatetime: "{today_str}"
tags: ["ニュース"]
Copy link
Preview

Copilot AI Jul 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tags line is unchanged in the diff and missing a + prefix, so it won't be included in the new frontmatter template. Add a + before tags to include it within the YAML block.

Suggested change
tags: ["ニュース"]
+tags: ["ニュース"]

Copilot uses AI. Check for mistakes.

layout: "../../layouts/BlogPost.astro"
---
```

注意: タイトルは既にfrontmatterで設定されるため、記事本文では「# タイトル」は不要です
**重要**: タイトルは既にfrontmatterで設定されるため、記事本文では「# 週刊開発者ニュース」などのメインタイトルは一切不要です。導入文から直接始めてください

## ニュースリスト
{articles}
Expand Down