Modifier: ul


Turn an array into an HTML unordered list element.

food:
  - sushi
  - broccoli
  - kale
{{ food | ul }}
<ul>
  <li>sushi</li>
  <li>broccoli</li>
  <li>kale</li>
</ul>

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on June 5, 2018