talks/taking-flight-with-tailwind-css/code/20-loops.txt

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
174 B
Plaintext
Raw Normal View History

{# base.html.twig #}
{% for item in navItems %}
<a
class="block py-3 px-4 text-sm text-gray-800"
href="{{ item.url }}"
>
2021-02-09 21:29:50 +00:00
{{ item.title }}
</a>
{% endfor %}