-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro-paper.config.ts
More file actions
48 lines (47 loc) · 1.35 KB
/
astro-paper.config.ts
File metadata and controls
48 lines (47 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import { defineAstroPaperConfig } from "./src/types/config";
export default defineAstroPaperConfig({
site: {
url: "https://stephenfang.me",
title: "StephenFang's Blog",
description: "stephenfang.me",
author: "Stephen Fang",
profile: "https://jike.city/stephenfang",
ogImage: "default-og.jpg",
lang: "zh-CN",
timezone: "Asia/Shanghai",
dir: "auto",
},
posts: {
perPage: 4,
perIndex: 4,
scheduledPostMargin: 15 * 60 * 1000,
},
features: {
lightAndDarkMode: true,
dynamicOgImage: true,
showArchives: true,
showBackButton: true,
editPost: {
enabled: false,
},
search: "pagefind",
},
socials: [
{ name: "github", url: "https://github.com/iamstephenfang" },
{ name: "instagram", url: "https://instagram.com/iamstephenfang" },
{ name: "x", url: "https://x.com/fangxuanmiao" },
{ name: "mail", url: "mailto:fangxuanmiao@hotmail.com" },
{ name: "telegram", url: "https://t.me/stephenfang" },
{
name: "jike",
url: "https://okjk.co/LZFasc",
linkTitle: "Stephen Fang on Jike",
},
],
shareLinks: [
{ name: "whatsapp", url: "https://wa.me/?text=" },
{ name: "x", url: "https://x.com/intent/post?url=" },
{ name: "telegram", url: "https://t.me/share/url?url=" },
{ name: "mail", url: "mailto:?subject=See%20this%20post&body=" },
],
});