ComboStrap UI - Template


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

They are supported in the page explorer component.


Example of template used in a page-explorer navigation pan to create:

  • a link
  • with a pipeline
  • that separate the h1 with the minus -
  • and used the second part as link description
[[$path|<pipeline>"$h1" | cut("-",2) | trim()</pipeline>]]


The following variables can be used in a template:

  • $path is the full qualified path of a page that can be used in link
  • $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.
  • “$description” - the description
  • $id - the id of the page


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

Powered by ComboStrap