Skip to content

Conversation

@madeline-underwood
Copy link
Collaborator

This PR adds opt-in support for a curated meta description field and documents the intentional separation between SEO meta descriptions and JSON-LD structured descriptions. No site-wide behavior changes.

@madeline-underwood
Copy link
Collaborator Author

CI was failing due to use of strings.TrimSpace, which is not supported by the Hugo version used in the build pipeline. This has been replaced with the Hugo-compatible trim helper. Behavior is unchanged.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables opt-in support for SEO meta descriptions in Hugo page front matter while maintaining the existing separation between HTML meta descriptions and JSON-LD structured data descriptions. The changes add a new description parameter that content authors can optionally use to provide task-oriented summaries for search engine results pages (SERPs).

Changes:

  • Added template logic to render HTML meta description tags from front matter
  • Added clarifying comments distinguishing SEO meta descriptions from JSON-LD schema descriptions

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
themes/arm-design-system-hugo-theme/layouts/partials/head/head.html Implements new optional description parameter with HTML rendering logic
themes/arm-design-system-hugo-theme/layouts/partials/head/jsonld.html Adds comment clarifying the intentional separation between schema and meta descriptions

Copy link
Contributor

@zachlasiuk zachlasiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good here, nice clean edits

@pareenaverma pareenaverma merged commit 865e5aa into ArmDeveloperEcosystem:main Jan 12, 2026
1 check passed
@madeline-underwood madeline-underwood deleted the enable-meta-description-field branch January 12, 2026 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants