
<nav>
  <div class="menu">
    {% for item in site.data.menu %}
      {% if page.lang == 'en' %}
        <a class="nav-link" href="{{ site.baseurl | append: item[page.lang].url }}">{{ item[page.lang].name }}</a>
      {% else %}
        <a class="nav-link" href="{{ site.baseurl }}/{{ page.lang | append: item[page.lang].url }}">{{ item[page.lang].name }}</a>
      {% endif %}
    {% endfor %}
  </div>
  {% include common/lang-selector.html en-text="/english" fr-text="/français" %}

</nav>