Skip to content

Add JSON-LD Structured Data #10

@sondt99

Description

@sondt99

Adding JSON-LD structured data helps search engines understand the content better and can improve search result appearance.

Proposed Solution

Add structured data for:

  1. Website - site name, url, description
  2. BlogPosting - each post with title, date, author, image
  3. Person - author information
  4. BreadcrumbList - navigation structure

Example for BlogPosting

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "BlogPosting",
  "headline": "Post Title",
  "datePublished": "2024-01-01",
  "author": {
    "@type": "Person",
    "name": "Thai Son Dinh"
  },
  "image": "https://...",
  "description": "Post excerpt"
}
</script>

Acceptance Criteria

  • JSON-LD added to post pages
  • Website schema on homepage
  • Valid structured data (test with Google Rich Results Test)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions