mirror of
https://github.com/dyzulk/trustlab-docs.git
synced 2026-01-25 21:18:46 +07:00
feat: add OG and Twitter meta tags to theme config
This commit is contained in:
BIN
public/images/logo-outlined.png
Normal file
BIN
public/images/logo-outlined.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.4 KiB |
@@ -1,20 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
|
||||
<url><loc>https://docs.trustlab.dyzulk.com</loc><lastmod>2026-01-09T09:09:34.013Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/developer</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/developer/endpoints</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/certificates/download-install</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/certificates/renewal</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/certificates/request-new</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/certificates/revocation</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/certificates/view-details</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/concepts/pki-fundamentals</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/concepts/trust-architecture</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/getting-started/access-dashboard</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/getting-started/install-root-ca</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/integrations/smime</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/integrations/web-servers</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/troubleshooting/browser-errors</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/troubleshooting/developer-tools</loc><lastmod>2026-01-09T09:09:34.014Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com</loc><lastmod>2026-01-09T09:32:31.278Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/developer</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/developer/endpoints</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/certificates/download-install</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/certificates/renewal</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/certificates/request-new</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/certificates/revocation</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/certificates/view-details</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/concepts/pki-fundamentals</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/concepts/trust-architecture</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/getting-started/access-dashboard</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/getting-started/install-root-ca</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/integrations/smime</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/integrations/web-servers</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/troubleshooting/browser-errors</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://docs.trustlab.dyzulk.com/guide/troubleshooting/developer-tools</loc><lastmod>2026-01-09T09:32:31.279Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
</urlset>
|
||||
@@ -26,17 +26,42 @@ const config: DocsThemeConfig = {
|
||||
docsRepositoryBase: 'https://github.com/dyzulk/trustlab-docs/tree/main',
|
||||
useNextSeoProps() {
|
||||
const { asPath } = useRouter()
|
||||
const description = 'TrustLab - Private Certificate Authority'
|
||||
const siteName = 'TrustLab Docs'
|
||||
|
||||
let titleTemplate = '%s – ' + siteName
|
||||
if (asPath.includes('/index') || asPath.endsWith('/en/') || asPath.endsWith('/id/')) {
|
||||
return {
|
||||
titleTemplate: 'TrustLab - Private Certificate Authority'
|
||||
}
|
||||
titleTemplate = 'TrustLab - Private Certificate Authority'
|
||||
}
|
||||
|
||||
return {
|
||||
titleTemplate: '%s – TrustLab Docs'
|
||||
titleTemplate,
|
||||
description,
|
||||
openGraph: {
|
||||
type: 'website',
|
||||
locale: 'en_US',
|
||||
url: `https://docs.trustlab.dyzulk.com${asPath}`,
|
||||
siteName: siteName,
|
||||
images: [
|
||||
{
|
||||
url: 'https://docs.trustlab.dyzulk.com/images/logo-outlined.png',
|
||||
width: 1200,
|
||||
height: 630,
|
||||
alt: 'TrustLab Logo',
|
||||
},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
handle: '@trustlab',
|
||||
site: '@trustlab',
|
||||
cardType: 'summary_large_image',
|
||||
},
|
||||
}
|
||||
},
|
||||
head: (
|
||||
<>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="apple-mobile-web-app-title" content="TrustLab" />
|
||||
<link rel="icon" href="/favicon.ico" />
|
||||
</>
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user