Accessing values

The Value tag will print the value of a data-element. This is useful when referencing the value of a system variable or predefined value, e.g. { i } to print the index of a generator from within a for operator.
{ element }

Value Arguments:

  • element: DataLocator - the data-element storing the value to be printed
Note: Value tag can only be used in-between tags. For example,
To use these variables in tag attributes use template literals instead. For example,
<div href={`/${article.relative_url}`}></div>