// Package document defines structured page-response metadata shared by block // and template render results. package document // Metadata is the safe document-head subset a plugin may ask the host to // render. The host remains responsible for validating URLs and robots values // and for escaping every value before it is written into HTML. type Metadata struct { Title string `json:"title,omitempty"` Description string `json:"description,omitempty"` CanonicalURL string `json:"canonicalUrl,omitempty"` ImageURL string `json:"imageUrl,omitempty"` Robots string `json:"robots,omitempty"` }