fix: color adjustments + queries

This commit is contained in:
Cory Dransfeldt 2024-10-27 09:55:13 -07:00
parent a92e20a56a
commit 2340b2300c
No known key found for this signature in database
7 changed files with 19 additions and 18 deletions

View file

@ -1,7 +1,10 @@
{%- assign categoryUrl = link.permalink | downcase -%}
{%- assign isHttp = categoryUrl contains "http" -%}
{%- if categoryUrl | isLinkActive: page.url -%}
<span class="active {{ link.class }}" aria-current="page">
<span
class="active {{ link.class }}"
aria-current="page"
>
{%- if link.icon -%}
{% tablericon link.icon %}
<span>{{ link.title }}</span>
@ -14,6 +17,7 @@
class="{% if link.icon %}{{ link.icon | downcase }} icon {% endif %}{{ link.class }}"
href="{{ categoryUrl }}"
{% if isHttp -%} rel="me" {%- endif %}
title="{{ link.title }}"
aria-label="{{ link.title }}"
>
{%- if link.icon -%}