pad Modifier

Pad an array to a given number of items with a value. By default the value is null, but you can specify it as the second parameter.

epic_meal_time:
- jack daniels
- bacon strips
{{ epic_meal_time pad="4:bacon strips" }}
{{ value }}
{{ /epic_meal_time }}
jack daniels
bacon strips
bacon strips
bacon strips
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →