fix build error; nav active state

This commit is contained in:
Cory Dransfeldt 2023-03-14 10:07:18 -07:00
parent 1d1bb8f37a
commit 063ed23406
No known key found for this signature in database
4 changed files with 11 additions and 6 deletions

View file

@ -1,7 +1,7 @@
<nav>
<ul class="flex">
<li class="mr-6"><a class="text-gray-700 hover:text-purple-500 dark:text-gray-200 dark:hover:text-purple-400" href="/now">/now</a></li>
<li class="mr-6"><a class="text-gray-700 hover:text-purple-500 dark:text-gray-200 dark:hover:text-purple-400" href="/about">About</a></li>
<li class="mr-6"><a class="text-gray-700 hover:text-primary-400 dark:text-gray-200{% if page.url == '/now/' %} active{% endif %}" href="/now">/now</a></li>
<li class="mr-6"><a class="text-gray-700 hover:text-primary-400 dark:text-gray-200{% if page.url == '/about/' %} active{% endif %}" href="/about">About</a></li>
<li class="mr-6">
{% include "icons/coffee.liquid" %}
</li>