>
                  {% endif %}
                {% endfor %}
              </ul>
            </li>
          {% else %}
            <li class="{{ class }}">
                <a href="{{ site.url }}{{ site.baseurl }}{{ link.url }}">{{ link.title }}</a>
            </li>
          {% endif %}
        {% endfor %}
    </ul>
    </nav>


    {%- if titles_size > 0 -%}
    <nav class="navbar navbar-expand-lg navbar-light bg-light">
      <div class="container-fluid">
        <a class="navbar-brand" href="/">Hapi<