parent
ad40ba6d2d
commit
b032798d69
142 changed files with 3 additions and 3 deletions
10
taking-flight-with-tailwind-css/code/20-loops.txt
Normal file
10
taking-flight-with-tailwind-css/code/20-loops.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
{# base.html.twig #}
|
||||
|
||||
{% for item in navItems %}
|
||||
<a
|
||||
class="block py-3 px-4 text-sm text-gray-800"
|
||||
href="{{ item.url }}"
|
||||
>
|
||||
{{ item.title }}
|
||||
</a>
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue