-
Notifications
You must be signed in to change notification settings - Fork 1
/
theme.config.tsx
52 lines (48 loc) · 1.49 KB
/
theme.config.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import { NextraBlogThemeConfig } from '@/layouts/types';
const year = new Date().getFullYear();
const Footer = () => (
<div className="mt-10 pb-10 prose dark:prose-invert m-auto opacity-50 flex justify-between">
<span className="text-sm">
<span className={'i-ooui-logo-cc'} />{' '}
<a
target="_blank"
href="https://creativecommons.org/licenses/by-nc-sa/4.0/"
style={{ color: 'inherit' }}
>
CC BY-NC-SA 4.0
</a>
</span>
<span className={'text-sm'}>2017 - {year} © Jabriel</span>
</div>
);
const config: NextraBlogThemeConfig = {
siteName: 'Jabriel in Hogsmeade | wh0.is',
cusdis: {
appId: '4cb397f1-774c-4249-932e-60b11baf7f7d',
host: 'https://c.wh0.is',
lang: 'en'
},
footer: <Footer />,
head: ({ title, meta }) => {
// Open Graph see @/layout/basic-layout.tsx
return (
<>
{meta.description && <meta name="description" content={meta.description} />}
{meta.tag && <meta name="keywords" content={meta.tag} />}
{meta.author && <meta name="author" content={meta.author} />}
</>
);
},
readMore: '',
postFooter: undefined,
darkMode: false,
navs: [
// {
// url: '/friends',
// name: 'Friends'
// }
],
showDescription: false,
previewDraft: true
};
export default config;