diff --git a/docs/articles/sso-azure-ad.md b/docs/articles/sso-azure-ad.md index d64821fb..77481b9f 100644 --- a/docs/articles/sso-azure-ad.md +++ b/docs/articles/sso-azure-ad.md @@ -3,7 +3,7 @@ title: Setup Azure Active Directory SSO sidebar_label: Azure AD Setup --- -Zuplo uses Auth0 to enable SSO for enterprise accounts who have purchased +Zuplo uses Auth0 to enable Azure SSO for enterprise accounts who have purchased single-sign-on. Below you will find instructions on how to setup a new Azure AD client to be used with Zuplo. diff --git a/docs/articles/sso-okta.md b/docs/articles/sso-okta.md index e409870a..17821745 100644 --- a/docs/articles/sso-okta.md +++ b/docs/articles/sso-okta.md @@ -3,7 +3,7 @@ title: Setup Okta SSO sidebar_label: Okta Setup --- -Zuplo uses Auth0 to enable SSO for enterprise accounts who have purchased +Zuplo uses Auth0 to enable Okta SSO for enterprise accounts who have purchased single-sign-on. Below you will find instructions on how to setup Okta to be used with Zuplo. diff --git a/src/app/[...slug]/page.tsx b/src/app/[...slug]/page.tsx index 2a379ca5..5da7684c 100644 --- a/src/app/[...slug]/page.tsx +++ b/src/app/[...slug]/page.tsx @@ -28,7 +28,11 @@ export async function generateMetadata({ title: data.title, // Take the first sentence as description, its typically the summary or // introduction - description: source.split(".")[0], + description: source + .replace(/(?<=\[.+\])\(.+\)/, "") // Remove [link](url) from description + .replace("[", "") // Remove [ from start + .replace("]", "") // Remove ] from end + .split(".")[0], // Grab the first sentence alternates: { canonical: `/${params.slug.join("/")}`, },