Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
fix: remove Jan prefix from blog post titles for better SEO
eckartal8b9aca27bf2f
diff --git a/docs/theme.config.tsx b/docs/theme.config.tsxindex 8b71c4cca..f3d1ab69c 100644--- a/docs/theme.config.tsx+++ b/docs/theme.config.tsx@@ -107,14 +107,15 @@ const config: DocsThemeConfig = {head: function useHead() {const { title, frontMatter } = useConfig()const { asPath } = useRouter()- const titleTemplate =- (asPath.includes('/desktop')+ const titleTemplate = asPath.includes('/post/')+ ? (frontMatter?.title || title)+ : (asPath.includes('/desktop')? 'Jan Desktop': asPath.includes('/server')? 'Jan Server': 'Jan') +- ' - ' +- (frontMatter?.title || title)+ ' - ' ++ (frontMatter?.title || title)return (<Fragment>