mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
This will change the title of the docs from Next.js Static Site Generator to node-postgres
52 lines
1.3 KiB
JavaScript
52 lines
1.3 KiB
JavaScript
// theme.config.js
|
||
export default {
|
||
project: {
|
||
link: 'https://github.com/brianc/node-postgres',
|
||
},
|
||
twitter: {
|
||
cardType: 'summary_large_image',
|
||
site: 'https://node-postgres.com',
|
||
},
|
||
docsRepositoryBase: 'https://github.com/brianc/node-postgres/blob/master/docs', // base URL for the docs repository
|
||
titleSuffix: ' – node-postgres',
|
||
darkMode: true,
|
||
footer: true,
|
||
navigation: {
|
||
prev: true,
|
||
next: true,
|
||
},
|
||
footer: {
|
||
text: `MIT ${new Date().getFullYear()} © Brian Carlson.`,
|
||
},
|
||
editLink: {
|
||
text: 'Edit this page on GitHub',
|
||
},
|
||
logo: (
|
||
<>
|
||
<svg>...</svg>
|
||
<span>node-postgres</span>
|
||
</>
|
||
),
|
||
head: (
|
||
<>
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
<meta name="description" content="Nextra: the next docs builder" />
|
||
<meta name="og:title" content="Nextra: the next docs builder" />
|
||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-100138145-1"></script>
|
||
<script
|
||
dangerouslySetInnerHTML={{
|
||
__html: `
|
||
|
||
window.dataLayer = window.dataLayer || [];
|
||
function gtag(){dataLayer.push(arguments);}
|
||
gtag('js', new Date());
|
||
|
||
gtag('config', 'UA-100138145-1');
|
||
|
||
`,
|
||
}}
|
||
></script>
|
||
</>
|
||
),
|
||
}
|