Skip to main content

Documentation Index

Fetch the complete documentation index at: https://reportana.dev/llms.txt

Use this file to discover all available pages before exploring further.

Introduction

The default filter is used to provide a fallback value when a variable is null, empty, or undefined. This is useful to ensure there is always a value displayed, even if the original variable is not set.

Example of Use

Example of how to use the default filter to define a fallback value when the first_name variable is not set or is empty:
{{ first_name|default('Name not defined') }}

Output Example of the Code

Result of the `default` Filter