fix: cleanup troubleshooting meta and cleanup

This commit is contained in:
dyzulk
2026-01-08 20:52:20 +07:00
parent 12705f2fe7
commit c17190ba53
2 changed files with 13 additions and 2 deletions

View File

@@ -1,4 +1,3 @@
{
"browser-errors": "NET::ERR_CERT Errors",
"missing-root": "System Doesn't Trust CA"
"browser-errors": "Common Browser Errors"
}

View File

@@ -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" />