2007-12-31: Minor release with feature enhancements. More...
2007-09-08: Small bug fix release. More...
2007-06-29: Some bug fixes and one small feature enhancement. More...
Plugin name: | Tag/Resource (Tag/Default) |
---|---|
Author: | Thomas Leitner <t_leitner@gmx.at> |
Summary: | Used for referencing resources |
Description: | This tag can be used to output the path to a resource or the resource itself. |
Parameters: | insert: :path name (=default mandatory parameter): nil |
Handled tags: | resource |
The resource tag is used to include a resource either verbatim (i.e. its content is copied) or by its path. For more information about resources have a look at the Core/ResourceManager.
This tag is mostly used in templates to include the webgen CSS and JS resources.
Usage | Output |
---|---|
{resource: webgen-logo} | ../../../images/webgen-logo.png |
{resource: w3c-valid-xhtml11} | ../../../images/w3c-valid-xhtml11.png |
{resource: {name: webgen-css, insert: data}} | .thumb { display:block; } /* START webgen download tag */ .webgen-file-icon, .webgen-download-icon { vertical-align: middle; } /* STOP webgen download tag */ .thumb-index { background: url("../examples/gallery_styles/slides/index_slide.png") 0 0 no-repeat; width: 120px; height: 120px; } .thumb-index img { padding: 10px; } .thumb-index img:hover { border: 1px solid black; } /* START webgen horizontal menu style */ .webgen-menu-horiz ul { display: block; } .webgen-menu-horiz li { display: inline; } /* STOP webgen horizontal menu style */ |