<div class="d-block d-md-none">
<nav class="navbar navbar-custom">

  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
  </button>
<div class="collapse navbar-collapse" id="navbarNav">
	<ul class="navbar-nav">
		<% loop $Menu(1) %>
			<li class="nav-item $LinkingMode"><a href="$Link" title="$Title.XML" class="nav-link">$MenuTitle.XML</a>
                <% if Children %>
                    <ul>
                    <% loop Children %>
                        <li><a href="$Link">$Title</a></li>
                        <% end_loop %>
                            </ul>
                        <% end_if %>
            </li>
		<% end_loop %>
	</ul>
    </div>
</nav>
</div>