class Webgen::Context::HtmlHead::Proxy

Proxy object for working with the data structure needed by Webgen::ContentProcessor::HtmlHead.

Public Instance Methods

inline_fragment(type, content)

Add inline CSS or JS fragments to the HTML head section.

The type can either be :css for a CSS fragment or :js for a javascript fragment.

meta(name, content)

Set the meta tag to the provided value.

Note that some meta information keys may not be specified multiple times!

meta_property(name, content)

Set the meta tag to the provided value, using property instead of name.

Note that some meta information keys may not be specified multiple times!