shop full
This commit is contained in:
@@ -51,11 +51,8 @@ export function buildProfileSeo(
|
||||
user.bio ||
|
||||
translateCommon(lang, "profileSeo.defaultBio", { siteName });
|
||||
|
||||
const cityPart = city
|
||||
? translateCommon(lang, "profileSeo.inCity", { city })
|
||||
: "";
|
||||
|
||||
const titleCore = [fullName || username, expertise, cityPart]
|
||||
const nameSegments = fullName ? [fullName, username] : [username];
|
||||
const titleCore = [...nameSegments, expertise, city]
|
||||
.filter(Boolean)
|
||||
.join(" – ");
|
||||
|
||||
@@ -69,7 +66,7 @@ export function buildProfileSeo(
|
||||
: "";
|
||||
|
||||
return {
|
||||
title: formatLocalizedSeoTitle(titleCore, lang),
|
||||
title: `${titleCore} | ${siteName}`,
|
||||
description,
|
||||
path,
|
||||
h1: fullName
|
||||
|
||||
Reference in New Issue
Block a user