This documentation site is about the unstable (upcoming) Comentario version.  Switch to the stable version »

Attribute: suffix

The suffix attribute of the <comentario-count> tag provides text displayed before the number

The suffix attribute of the count tag can be used to append a custom string to the displayed number.

NB: when there’s also a zero-text attribute is provided and the number of comments is zero, no suffix is added to the element.

Example

<h1>Comments<comentario-count prefix=" (" suffix=")"></comentario-count></h1>

See also