-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tsx
31 lines (25 loc) · 890 Bytes
/
main.tsx
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
/** @jsx h */
import blog, { ga, redirects, h } from "blog";
blog({
title: "Johan's Blog",
description: "This is my new blog.",
// header: <header>Your custom header</header>,
// section: <section>Your custom section</section>,
// footer: <footer>Your custom footer</footer>,
avatar: "https://deno-avatar.deno.dev/avatar/blog.svg",
avatarClass: "rounded-full",
author: "Johan Xie",
links: [
{ title: "GitHub", url: "https://github.com/johanvx" },
{ title: "Bilibili", url: "https://space.bilibili.com/24089623" },
],
middlewares: [
// If you want to set up Google Analytics, paste your GA key here.
// ga("UA-XXXXXXXX-X"),
// If you want to provide some redirections, you can specify them here,
// pathname specified in a key will redirect to pathname in the value.
redirects({
"/en/hello_world": "/hello_world",
}),
]
});