fix: color adjustments + queries
This commit is contained in:
parent
a92e20a56a
commit
2340b2300c
7 changed files with 19 additions and 18 deletions
|
@ -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 -%}
|
||||
|
|
Reference in a new issue