-
Notifications
You must be signed in to change notification settings - Fork 9
/
theme.config.tsx
37 lines (36 loc) · 1.1 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
import { useConfig } from 'nextra-theme-docs'
/* eslint sort-keys: error */
/**
* @type {import('nextra-theme-docs').DocsThemeConfig}
*/
export default {
logo: <span>Foundation</span>,
project: {
link: 'https://github.com/digitalfortress-dev/foundation',
},
docsRepositoryBase: 'https://github.com/digitalfortress-dev/foundation',
editLink: {
text: 'Edit this page on GitHub'
},
footer: {
text: 'Digital Fortress Foundation',
},
useNextSeoProps() {
const { frontMatter } = useConfig()
return {
additionalMetaTags: [
{ content: 'en', httpEquiv: 'Content-Language' },
{ content: 'DF Foundation', name: 'apple-mobile-web-app-title' },
{ content: '#fff', name: 'msapplication-TileColor' },
{ content: '/ms-icon-144x144.png', name: 'msapplication-TileImage' }
],
description:
frontMatter.description || 'Digital Fortress: The Foundation',
titleTemplate: '%s – Digital Fortress Foundation',
twitter: {
cardType: 'summary_large_image',
site: 'https://foundation.digitalfortress.dev'
}
}
}
}