Repository navigation
Add FAQPage and a panoramic title to the English carousel guide - #46
Merged
Merged
Conversation
The visible questions now come from the blog faq frontmatter, the same path the Spanish post uses, and the title and description answer panoramic Instagram post queries. Co-authored-by: Joan Comadran <joancomadran@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The English guide
/blog/seamless-instagram-carousel-panoramanow emits FAQPage for the three questions it already showed, and its title and meta description answer panoramic Instagram post and carousel queries. The Spanish twin is unchanged.Files changed
src/content/blog/en/seamless-instagram-carousel-panorama.mdxFAQPage mechanism
The Spanish post gets FAQPage from a frontmatter
faqarray (q/a).PostViewrenders that array withFaqListunder the "Common questions" heading and passes it tofaqPage()insrc/site/schema.ts. The English post had the same three questions only in the markdown body, so the layout emitted no FAQPage. Those questions and answers now live in the Englishfaqfield, and the body copy of that section is removed so the visible text and the schema come from one source.Visible Q&A and FAQPage
Question/acceptedAnswertext:updated: 2026-11-25is whatblogPosting()writes asdateModified.publishedstays2026-10-20.Code facts checked before writing the new description
MIN_CAROUSEL_SLIDES/MAX_CAROUSEL_SLIDESinsrc/lib/carousel.ts).4:5,1:1, and3:4(CAROUSEL_ASPECT_IDS).COLLAGE_ASPECTSinsrc/lib/collage.ts).renderCarouselinsrc/lib/carousel.ts).Checks
npm run build(astro checkandastro build)npm run lintnpm test(45 passing)Built English page: title is 44 characters before
· Lightframes(58 with the suffix), description is 147 characters, FAQPage has 3 questions,datePublishedis2026-10-20T00:00:00.000Z,dateModifiedis2026-11-25T00:00:00.000Z. The built Spanish page still has its own 3-question FAQPage anddateModifiedof2026-10-20.