Hugo Dark Theme Site Generator https://after-dark.habd.as
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

structured-data.md 1.8KB

+++ title = “Structured Data” description = “Give search engines rich info about site structure.” categories = [“search”] tags = [“metadata”, “semantics”, “robots”, “SEO”] features = [“related content”] copyright owner = “Josh Habdas” date = “2019” license = “agpl-3.0-or-later” +++

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.