These extensions allow the easy inclusion of dynamic content in, for example, page and template paths. No knowledge of a programming language is needed to make effective use of tags and each tag is used for a specific task like creating a menu or a breadcrumb trail.
Information about how to create a tag is found in the Webgen::Tag API documentation.
The output of some tags can be customized by providing a custom rendering template via a configuration option.
This configuration option needs the (a)(l)cn of a template or page node as value and this node needs
to have a specially named block (normally of the form
tag.TAGNAME). This block is then used for
rendering the output.
This mechanism allows you, for example, to add such a block to the default website template so that there is no need to create a separate template.
List of Tag Extensions
- Creates a breadcrumb trail (i.e. shows the directory hierarchy) for the content page
- Applies syntax highlighting to the tag body
- Displays the current date/time in a customizable format
- Includes the output of a command
- Includes the content of a file
- Displays a list of links to translations of the content page
- Creates a link to a given path
- Creates a customizable menu
- Outputs the value of a given meta information key of the generated page
- Makes the given path relative to the generated page
- Generates an output image from the specified TikZ commands