Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am gtucker6 on github.
  • I am happyfeet (https://keybase.io/happyfeet) on keybase.
  • I have a public key ASAZl-oGM1ka-IJOd60ud4u0J3_ksHHYaAMFZ5Bx6q1Z9wo

To claim this, I am signing this object:

@gtucker6
gtucker6 / menu--main.html.twig
Created March 15, 2017 20:25
main menu twig emplate
{% import _self as menus %}
{#
We call a macro which calls itself to render the full tree.
@see http://twig.sensiolabs.org/doc/tags/macro.html
#}
{{ menus.menu_links(items, attributes, 0) }}
{% macro menu_links(items, attributes, menu_level) %}
{% import _self as menus %}
{%