ComboStrap UI - Template

1 - About

template are text that may contains variables that will be replaced at runtime.

3 - Example

Example of template used in a namespace toc to create a link where the words ComboStrap UI - are deleted from the h1

[[$id|<pipeline>"$h1" | replace("ComboStrap UI - ","")</pipeline>]]

4 - Variables

The following variables can be used in a template:

  • $id - the id of the page
  • $title - the title of the page - if empty, the h1
  • $h1 - the h1 title (the first header text of the page) - if empty, the title.

5 - Transformation

A template supports text transformation through the use of a pipeline.

Powered by ComboStrap