diff --git a/src/_includes/partials/nav/link.liquid b/src/_includes/partials/nav/link.liquid
index 9c119d83..4b7f546c 100644
--- a/src/_includes/partials/nav/link.liquid
+++ b/src/_includes/partials/nav/link.liquid
@@ -1,14 +1,5 @@
{%- capture pageUrl %}/{{ link | downcase }}/{% endcapture -%}
-{% if page.url != pageUrl %}
-
- {% if icon %}
- {% tablericon icon link %}
- {% else %}
- {{ link }}
- {% endif %}
-
-{% endif %}
-{% if page.url == pageUrl %}
+{% if pageUrl contains page.fileSlug and page.fileSlug %}
{% if icon %}
{% tablericon icon link %}
@@ -16,4 +7,12 @@
{{ link }}
{% endif %}
+{% else %}
+
+ {% if icon %}
+ {% tablericon icon link %}
+ {% else %}
+ {{ link }}
+ {% endif %}
+
{% endif %}
\ No newline at end of file
diff --git a/src/assets/styles/tailwind.css b/src/assets/styles/tailwind.css
index 78b0d7ba..073db387 100644
--- a/src/assets/styles/tailwind.css
+++ b/src/assets/styles/tailwind.css
@@ -1960,7 +1960,7 @@ html {
.active,
.active svg {
- color: #2563eb !important;
+ color: #2563eb;
}
.header-anchor {
diff --git a/tailwind.css b/tailwind.css
index 40974f32..1f17da7d 100644
--- a/tailwind.css
+++ b/tailwind.css
@@ -50,7 +50,7 @@ html {
.active,
.active svg {
- color: theme(colors.blue.600) !important;
+ color: theme(colors.blue.600);
}
.header-anchor {