Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Just exceptional. Thank you so much, Jack, you smashed it.

— Hugo, Developer

dl Modifier

Turn a key/value array, otherwise known as a YAML mapping, into an HTML definition list.

food:
Delicious:
- bacon
- sushi
Green:
- broccoli
- kale
{{ food | dl }}
<dl>
<dt>Delicious</dt>
<dd>bacon</dd>
<dd>sushi</dd>
 
<dt>Green</dt>
<dd>broccoli</dd>
<dd>kale</dd>
</dl>
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →