+++ title = “Structured Data” description = “Give search engines rich info about site structure.” categories = [“search”] tags = [“metadata”, “semantics”, “robots”, “SEO”] features = [“related content”] +++
After Dark generates structured metadata using {{< external “https://schema.org” />}} specifications for blog posts, Section Menu, Hall of Mirrors image galleries and adapts data automatically using author-defined Post Bylines as shown here:
| Schema Property | Frontmatter Value |
|---|---|
| author? | author |
| datePublished | publishdate or date |
| articleSection | categories |
Post Images use {{< external “https://gohugo.io/content-management/page-resources/#page-resources-metadata” “Page Resources Metadata” />}} to add image captions:
| Schema Property | Header Image Resource Metadata |
|---|---|
| caption? | creator [sameas domain] or caption |
Consider adding structured data when creating Custom Layouts for improved page semantics and better SEO.
Learn more about structured data using the following resources:
Use Webmaster Tools to validate structured data. This can be done from a development machine using ephemeral hosting.