Skip to main content

common

Function common 

Source
pub fn common(
    page_title: &str,
    description: &str,
    keywords: Option<&[&str]>,
    author: Option<&str>,
    viewport: &str,
    robots: &str,
) -> Vec<Element>
Expand description

The common <meta> block: charset, viewport, description, robots, keywords, author — plus the <title>.

§A bug fixed in the port

Emits a <title> element from title, followed by the charset, viewport, description and robots tags.