<nav class="navbar">
  <h2>${title}</h2>
  <div class="nav-links">
    % for item in menu:
    % if any(role in item['roles'] for role in user_roles):
    <a class="${'active' if item['name'] == active_page else ''}" href="${item['href']}" target="${item['target']}">
      ${item['name']}
    </a>
    % endif
    % endfor
  </div>
  <div class="nav-menu-icons">
    <i data-feather="shopping-cart"></i>
  </div>
</nav>