#[derive(PageType)]
{
// Attributes available to this derive:
#[page_type]
#[field]
}
Expand description
#[derive(PageType)] — declarative page-type definition.
See crate::page_type::PageTypeOverrides for the override trait
authors implement alongside.
#[derive(PageType)] — generates the rustango_cms::PageTypeHandler
trait impl from #[page_type(...)] and #[field(...)] attributes
plus a global inventory registration so the type is reachable from
rustango_cms::find_handler(type_name).
See module docs for the author-facing surface.