Skip to content

Commit a2a7dcd

Browse files
fix: astro check issues
1 parent c0873fc commit a2a7dcd

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@ export const SITE = {
44
profile: "https://jike.city/stephenfang",
55
desc: "stephenfang.me",
66
title: "StephenFang's Blog",
7+
ogImage: "https://image.stephenfang.me/og-image.jpeg",
78
lightAndDarkMode: true,
89
postPerIndex: 4,
910
postPerPage: 4,
1011
scheduledPostMargin: 15 * 60 * 1000, // 15 minutes
1112
showArchives: true,
1213
showBackButton: true,
14+
editPost: {
15+
url: "https://github.com/iamStephenFang/stephenfang.github.io/edit/main/src/content/blog",
16+
text: "Suggest Changes",
17+
appendFilePath: true,
18+
},
1319
dynamicOgImage: true,
1420
};

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const recentPosts = sortedPosts.filter(({ data }) => !data.featured);
4747
I'm StephenFang, who like programming lovely mobile applications. Read
4848
the blog posts or check
4949
<LinkButton
50-
className="hover:text-skin-accent underline decoration-dashed underline-offset-4"
50+
class="underline decoration-dashed underline-offset-4 hover:text-accent"
5151
href="/about"
5252
>
5353
About

0 commit comments

Comments
 (0)