Skip to content

Commit 1b169e1

Browse files
committed
Improve SEO metadata for Entra release notes
1 parent 5aac225 commit 1b169e1

5 files changed

Lines changed: 68 additions & 4 deletions

docs/.vitepress/config.mts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,24 @@ function getAlternatePages(relativePath: string) {
7575
})
7676
}
7777

78+
function getFrontmatterKeywords(frontmatter: Record<string, any>): string[] {
79+
const rawKeywords = frontmatter.keywords
80+
if (Array.isArray(rawKeywords)) {
81+
return rawKeywords
82+
.map((keyword) => String(keyword).trim())
83+
.filter(Boolean)
84+
}
85+
86+
if (typeof rawKeywords === 'string') {
87+
return rawKeywords
88+
.split(',')
89+
.map((keyword) => keyword.trim())
90+
.filter(Boolean)
91+
}
92+
93+
return []
94+
}
95+
7896
// https://vitepress.dev/reference/site-config
7997
export default withMermaid(defineConfig({
8098
title: 'Mobile ID docs',
@@ -144,6 +162,7 @@ export default withMermaid(defineConfig({
144162
? toAbsoluteUrl(pageData.frontmatter.thumbnail)
145163
: undefined
146164
const isReleaseNotesPost = pageData.frontmatter.layout === RELEASE_NOTES_POST_LAYOUT
165+
const keywords = getFrontmatterKeywords(pageData.frontmatter)
147166
const head: HeadConfig[] = [
148167
['link', { rel: 'canonical', href: canonicalUrl }],
149168
['meta', { property: 'og:title', content: ogTitle }],
@@ -182,6 +201,14 @@ export default withMermaid(defineConfig({
182201

183202
head.push(['meta', { property: 'article:section', content: 'Release Notes' }])
184203

204+
if (keywords.length > 0) {
205+
head.push(['meta', { name: 'keywords', content: keywords.join(', ') }])
206+
207+
for (const keyword of keywords) {
208+
head.push(['meta', { property: 'article:tag', content: keyword }])
209+
}
210+
}
211+
185212
if (alternates.length > 1) {
186213
const currentAlternate = alternates.find((alternate) => alternate.lang === lang)
187214
const xDefault = alternates.find((alternate) => alternate.lang === 'en') ?? currentAlternate
@@ -211,6 +238,7 @@ export default withMermaid(defineConfig({
211238
datePublished: publishedDate,
212239
inLanguage: HREFLANG_BY_LANG[lang],
213240
articleSection: 'Release Notes',
241+
keywords: keywords.length > 0 ? keywords : undefined,
214242
image: socialImage ? [socialImage] : undefined,
215243
author: pageData.frontmatter.author
216244
? {

docs/release-notes/posts/2026-03-27-mobile-id-entra-external-mfa.de.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
22
title: "Mobile ID und Microsoft Entra ID: Stärkere MFA mit External Authentication"
33
date: 2026-03-27
44
author: Mobile ID Team
5-
description: "Microsoft Entra External MFA ist jetzt allgemein verfügbar. Erfahren Sie, wie Mobile ID als vertrauenswürdiger externer MFA-Anbieter SIM-basierte und App-basierte Authentisierung in Ihre Entra ID-Umgebung bringt."
5+
description: "Microsoft Entra External MFA ist allgemein verfügbar. Erfahren Sie, wie Mobile ID SIM- und App-basierte MFA für Entra ID, VPN, Webanwendungen und hybride Belegschaften ergänzt."
66
thumbnail: /release-notes/img/entra-eam-thumb.png
77
lang: de
8+
keywords:
9+
- Microsoft Entra External MFA
10+
- Mobile ID
11+
- externer MFA-Anbieter
12+
- Entra ID MFA
13+
- Conditional Access
14+
- SIM-basierte MFA
15+
- App-basierte MFA
16+
- VPN MFA
817
readingTime: 10
918
layout: release-notes-post
1019
---

docs/release-notes/posts/2026-03-27-mobile-id-entra-external-mfa.fr.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
22
title: "Mobile ID et Microsoft Entra ID : un MFA renforcé avec External Authentication"
33
date: 2026-03-27
44
author: Mobile ID Team
5-
description: "Microsoft Entra External MFA est désormais disponible en version générale. Découvrez comment Mobile ID s'intègre en tant que fournisseur External MFA de confiance, apportant l'authentification basée sur la SIM et sur l'App à votre environnement Entra ID."
5+
description: "Microsoft Entra External MFA est disponible en version générale. Découvrez comment Mobile ID ajoute un MFA par SIM et par App pour Entra ID, le VPN, les applications web et les équipes hybrides."
66
thumbnail: /release-notes/img/entra-eam-thumb.png
77
lang: fr
8+
keywords:
9+
- Microsoft Entra External MFA
10+
- Mobile ID
11+
- fournisseur External MFA
12+
- MFA Entra ID
13+
- Conditional Access
14+
- MFA par SIM
15+
- MFA par App
16+
- MFA VPN
817
readingTime: 10
918
layout: release-notes-post
1019
---

docs/release-notes/posts/2026-03-27-mobile-id-entra-external-mfa.it.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
22
title: "Mobile ID e Microsoft Entra ID: MFA rafforzata con External Authentication"
33
date: 2026-03-27
44
author: Mobile ID Team
5-
description: "Microsoft Entra External MFA è ora generalmente disponibile. Scopri come Mobile ID si integra come provider External MFA affidabile, portando l'autenticazione basata su SIM e su app nel tuo ambiente Entra ID."
5+
description: "Microsoft Entra External MFA è generalmente disponibile. Scopri come Mobile ID aggiunge MFA basata su SIM e app per Entra ID, VPN, applicazioni web e workforce ibride."
66
thumbnail: /release-notes/img/entra-eam-thumb.png
77
lang: it
8+
keywords:
9+
- Microsoft Entra External MFA
10+
- Mobile ID
11+
- provider External MFA
12+
- MFA Entra ID
13+
- Conditional Access
14+
- MFA basata su SIM
15+
- MFA basata su app
16+
- VPN MFA
817
readingTime: 10
918
layout: release-notes-post
1019
---

docs/release-notes/posts/2026-03-27-mobile-id-entra-external-mfa.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,18 @@
22
title: "Mobile ID and Microsoft Entra ID: Stronger MFA with External Authentication"
33
date: 2026-03-27
44
author: Mobile ID Team
5-
description: "Microsoft Entra External MFA is now generally available. Learn how Mobile ID integrates as a trusted external MFA provider, bringing SIM-based and app-based authentication to your Entra ID environment."
5+
description: "Microsoft Entra External MFA is generally available. See how Mobile ID adds SIM and app-based MFA for Entra ID, VPN, web apps and hybrid workforces."
66
thumbnail: /release-notes/img/entra-eam-thumb.png
77
lang: en
8+
keywords:
9+
- Microsoft Entra External MFA
10+
- Mobile ID
11+
- External MFA provider
12+
- Entra ID MFA
13+
- Conditional Access
14+
- SIM-based MFA
15+
- app-based MFA
16+
- VPN MFA
817
readingTime: 10
918
layout: release-notes-post
1019
---

0 commit comments

Comments
 (0)