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.
link_file(type, file)
Add a link to the given file in the HTML head section.
The type can either be :css for CSS files or :js for javascript files. The path to the file is resolved using the “relocatable” tag (see Webgen::Tag::Relocatable
).
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!