Skip to content

Commit 0b0f0d4

Browse files
And now, removed twig
1 parent bdbfb27 commit 0b0f0d4

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

docs/overview.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,3 @@ Besides these, you can also simply use the menus in Blade templates and render t
4646
@endforeach
4747
</div>
4848
```
49-
50-
```twig
51-
<div class="menu">
52-
{# Iterate through the menu items #}
53-
{% for item in menu.items %}
54-
{% if item.isAllowed() %}
55-
<div class="menu-item">
56-
{% if item.hasLink %}
57-
<a href="{{ item.url()|raw }}">{{ item.title }}</a>
58-
{% else %}
59-
{{ item.title }}
60-
{% endif %}
61-
</div>
62-
{% endif %}
63-
{% endfor %}
64-
</div>
65-
66-
```

0 commit comments

Comments
 (0)