mirror of
https://github.com/dyzulk/trustlab-docs.git
synced 2026-01-26 05:25:38 +07:00
fix: cleanup troubleshooting meta and cleanup
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
{
|
||||
"browser-errors": "NET::ERR_CERT Errors",
|
||||
"missing-root": "System Doesn't Trust CA"
|
||||
"browser-errors": "Common Browser Errors"
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
import React from 'react'
|
||||
import { useRouter } from 'next/router'
|
||||
import { DocsThemeConfig } from 'nextra-theme-docs'
|
||||
|
||||
const config: DocsThemeConfig = {
|
||||
@@ -22,6 +23,17 @@ const config: DocsThemeConfig = {
|
||||
)
|
||||
},
|
||||
docsRepositoryBase: 'https://github.com/dyzulk/trustlab-docs/tree/main',
|
||||
useNextSeoProps() {
|
||||
const { asPath } = useRouter()
|
||||
if (asPath === '/') {
|
||||
return {
|
||||
titleTemplate: 'TrustLab - Private Certificate Authority'
|
||||
}
|
||||
}
|
||||
return {
|
||||
titleTemplate: '%s – TrustLab Docs'
|
||||
}
|
||||
},
|
||||
head: (
|
||||
<>
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
|
||||
Reference in New Issue
Block a user