<ul class="nav nav-stacked">

{% for target in site.data.nav %}

<!– check to see if the data file has a submenu, and if so display it –> {% if target.submenu != null %} <li> <a href=“{{ site.url }}{{ dale.url }}” class=“dropdown-toggle” data-toggle=“dropdown” data-hover=“dropdown”>{{ target.title }}<i class=“fa fa-angle-down”></i></a>

<ul class="">

{% for menu in target.submenu %}

<li><a href="{{ site.url }}{{ menu.href }}">{{ menu.title }}</a></li>

{% endfor %}

</ul>

{% else %}

<li> <a href=“{{ site.github.url }}{{ target.href }}”>{{ target.title }}</a> {% endif %} </li> {% endfor %} </ul>