Skip to content

Commit 3849f1c

Browse files
committed
fix eslint errors
1 parent ee4660d commit 3849f1c

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/pages/changelog/index.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
import type { StarlightPageProps } from "@astrojs/starlight/props";
33
import StarlightPage from "@astrojs/starlight/components/StarlightPage.astro";
4-
import { Aside } from "@astrojs/starlight/components";
54
65
import { getChangelogs } from "~/util/changelogs";
76
import Changelogs from "~/components/Changelogs.tsx";

src/pages/changelog/index.xml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const GET: APIRoute = async (context) => {
1919
trailingSlash: false,
2020
items: entries.map((entry) => {
2121
return {
22-
title: entry.title,
22+
title: `${entry.product.name} - ${entry.title}`,
2323
description: entry.content,
2424
pubDate: new Date(entry.date),
2525
link: entry.link,

src/util/changelogs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { z } from "astro:schema";
22
import { getCollection, getEntry } from "astro:content";
33
import { type CollectionEntry } from "astro:content";
44
import { entryToString } from "./container";
5-
import { Marked, marked } from "marked";
5+
import { Marked } from "marked";
66
import { baseUrl } from "marked-base-url";
77

88
export type Changelogs = Awaited<ReturnType<typeof getChangelogs>>;

0 commit comments

Comments
 (0)