-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro-paper.config.ts
More file actions
43 lines (42 loc) · 1.33 KB
/
Copy pathastro-paper.config.ts
File metadata and controls
43 lines (42 loc) · 1.33 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
import { defineAstroPaperConfig } from "./src/types/config";
export default defineAstroPaperConfig({
site: {
url: "https://random25160765-collab.github.io",
title: "rd",
description: "rd的博客",
author: "random25160765",
profile: "https://github.com/random25160765-collab",
ogImage: "default-og.jpg",
lang: "zh-CN",
timezone: "Asia/Shanghai",
dir: "ltr",
},
posts: {
perPage: 4,
perIndex: 4,
scheduledPostMargin: 0,
},
features: {
lightAndDarkMode: true,
dynamicOgImage: true,
showArchives: true,
showBackButton: true,
editPost: {
enabled: true,
url: "https://github.com/random25160765-collab/random25160765-collab.github.io/edit/main/",
},
search: "pagefind",
},
socials: [
{ name: "github", url: "https://github.com/random25160765-collab" },
{ name: "mail", url: "mailto:random25160765@gmail.com" },
],
shareLinks: [
{ name: "whatsapp", url: "https://wa.me/?text=" },
{ name: "facebook", url: "https://www.facebook.com/sharer.php?u=" },
{ name: "x", url: "https://x.com/intent/post?url=" },
{ name: "telegram", url: "https://t.me/share/url?url=" },
{ name: "pinterest", url: "https://pinterest.com/pin/create/button/?url=" },
{ name: "mail", url: "mailto:?subject=See%20this%20post&body=" },
],
});