Skip to main content

chrome_page

Function chrome_page 

Source
pub fn chrome_page(doc: &str, site_title: &str, chrome: &Chrome) -> String
Expand description

Wrap a rendered page document with the site chrome. doc is the full <!doctype html>...<body>content</body></html> document from seo::document; the body content is lifted into the layout (header + sidebar + main + TOC + pager) by exact-markup surgery on markup this crate itself emitted.