Add microdata

This commit is contained in:
Will Faught
2025-01-21 22:30:44 -08:00
parent 730c3b8be4
commit bcacae10c0
4 changed files with 35 additions and 10 deletions

View File

@@ -340,6 +340,17 @@ disable_toc = false
# url = "https://example.com"
base_schema = {}
# paige.page.microdata specifies the SEO microdata non-property attributes (all except itemprop) for the web page.
#
# Example:
#
# [paige.page.microdata]
# itemid = "123"
# itemref = "foo"
# itemscope = ""
# itemtype = "https://schema.org/Chapter
microdata = {}
# paige.page.schemas is the page JSON-LD schemas.
#
# Examples:
@@ -453,6 +464,9 @@ or for pages with `paige.pages.schemas`, at the site or page level.
A base schema can be specified for site schemas with `paige.site.base_schema`,
and for page schemas with `paige.page.base_schema`.
HTML microdata is generated from the page parameters
if the non-property attributes are specified in `paige.page.microdata`.
## Layouts
### Cloud