TPLix

No results for ""

Do

1 min read Jun 2, 2026
--- title: do autoseo: enabled: true theme: learn2 child_type: default admin: children_display_order: collection visible: true ---

default — Executes whatever follows without output. This is basically a cleaner alternative to doing {assign func("foo") var} or to use {capture} to silence some output.

I can’t think of any reason to use it in a template, but since it’s there for internal reasons, you might as well use it if required.

Examples:

Where template is: Syntax


{do "foo"}
{do reverse("bar")}
	

The above example will output:

*nothing*

Leave a Comment

Not published. Used to notify you on approval.

Comments are moderated before appearing.