From 0755cdfb2d8ddf9e57e589e9bb4a4558c719d264 Mon Sep 17 00:00:00 2001 From: paulosf0 Date: Fri, 17 Jul 2026 13:37:52 -0300 Subject: [PATCH 1/3] feat(seo): emit VideoObject JSON-LD on doc pages with video Fixes the Google Search Console warning "Either contentUrl or embedUrl should be specified" and enables video indexing / rich results on the 23 documentation pages that embed a YouTube video. Replicates the getVideoObjectSchema() logic already used in azion/site: uses embedUrl (not contentUrl), derives thumbnailUrl from the YouTube ID (https://i.ytimg.com/vi/{ID}/hqdefault.jpg), uses the page date as uploadDate, and omits duration. - add getVideoObjectSchema() builder in src/util/videoObject.ts - add optional `video` object to baseSchema (config.ts) so the embed is sourced explicitly from frontmatter instead of parsing the body - emit