fix: remove Jan prefix from blog post titles for better SEO
- Blog posts now use only frontmatter title without 'Jan -' prefix - Other pages maintain existing branding (Jan Desktop, Jan Server, Jan) - Improves SEO for blog content while preserving site branding
This commit is contained in:
parent
b69330ffca
commit
8b9aca27bf
@ -107,8 +107,9 @@ 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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user