-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.config.jsx
38 lines (36 loc) · 921 Bytes
/
theme.config.jsx
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
export default {
logo: <b><span>BuildinBlog</span></b>,
project: {
link: 'https://github.com/aumvats/buildinblog'
},
docsRepositoryBase: 'https://github.com/aumvats/buildinblog/tree/main/pages',
footer: { //footer content
text: (
<span>
<a href="https://github.com/aumvats/buildinblog" target="new-tab">
BuildinBlog
</a>
{" "}@ {new Date().getFullYear()} .
</span>
)
},
sidebar: {
toggleButton: 'true'
},
toc: {
backToTop: 'true'
},
sidebar: {
titleComponent({ title, type }) {
if (type === 'separator') {
return (
<div style={{ background: 'blue', textAlign: 'center' }}>{title}</div>
)
}
if (title === 'About') {
return <>{title}</>
}
return <>{title}</>
}
}
}