Back to the extension listing.
Webgen::Tag::Metainfo
Summary
The following tag names are registered for this tag class: :default
Description
The meta tag is used to copy meta information verbatim. It is used as fallback when no other tag
class for a specific tag name could not be found. For example, if you define a meta information with
the key revision, you can put the tag {revision:} into a block of a page file and the value
gets substituted automatically.
An every day usage example for the meta tag would be including the title of a page in the
head-section of a HTML template or specifying the language of the HTML file by using the
{lang:} tag.
Examples
| Usage | Output |
|---|---|
| {title: } | Webgen::Tag::Metainfo |
| {lang: } | en |
Back to the extension listing.