Skip to content

Commit 8b7a8a2

Browse files
committed
feat(changelog): add major metadata
1 parent 9f495bd commit 8b7a8a2

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

changelog/src/components/PostList.astro

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ const formatDate = (date: Date) => {
1919
{posts.map((post) => (
2020
<li class="grid grid-cols-[150px_1fr] gap-10">
2121
<div class="flex flex-col items-start">
22-
<a href={`${baseurl}/${post.id}`} class="sticky top-25 w-full">
22+
<a
23+
href={`${baseurl}/${post.id}`}
24+
class="sticky top-25 w-full"
25+
data-major={post.data.major}
26+
>
2327
<span class="text-sm text-surface-gray-5 flex items-center gap-3">
2428
<div
2529
class="bg-surface-gray-5 size-2 rounded shrink-0 relative z-10 ring-4 ring-outline-gray-2"

changelog/src/content.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ const releases = defineCollection({
1717
tags: z.array(z.string()).default([]),
1818
// Transform string to Date object
1919
date: z.coerce.date(),
20+
major: z.boolean().optional(),
2021
}),
2122
});
2223

changelog/src/content/releases/may-2026.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 'Frappe Cloud May 2026'
33
date: '2026-05-31'
4+
major: true
45
description: Build and deployment steps now progress in real time, with retries, logs, and failed steps visible in a single screen.
56
tags:
67
- deployments

0 commit comments

Comments
 (0)