l1dge / techswap

Repo for the techswap project
2 stars 0 forks source link

Simplify navbar #50

Closed bbelderbos closed 3 years ago

bbelderbos commented 3 years ago

Can consolidate contact and contact under About

bbelderbos commented 3 years ago

On the navbar topic, this is how we make the actively visited page bold on the platform:

   <li{% if request.path == "/bites/" %} class="activeNavLink"{% endif %}>
       <a href="{% url 'bites:index' %}">Regular Bites</a>
    </li>

     <li{% if "paths" in request.path %} class="activeNavLink"{% endif %}>
        <a href="{% url 'bites:paths' %}">Learning Paths</a>
     </li>
     ...

(do this for all links)

l1dge commented 3 years ago

Done.