<ul class="mobile__nav">
    {% for link in site.navigation %}
        {% assign current = nil %}
        {% if page.url contains link.url %}
            {% assign current = 'active' %}
        {% endif %}
        <li class="{% if forloop.first %} first{% endif %} {{ current }} {% if forloop.last %}last{% endif %}">
            <a href="{{ link.url }}">{{ link.title }}</a>
        </li>
    {% endfor %}
</ul>

<ul class="mobile__nav">
    <li class="{% if page.url == '/' %}active{% endif %}">
        <a href="/">Projects</a>
    </li>
    <li class="{% if page.url contains 'about' %}active{% endif %}">
        <a href="/about">About</a>
    </li>
    <li class="{% if page.url contains 'journal' %}active{% endif %}">
        <a href="/journal">Journal</a>
    </li>
</ul>

Fix mobile nav links when active.
Fix mobile nav links when active.
