chore: cleanup
This commit is contained in:
parent
192fcbfcf9
commit
cc917e45c5
19 changed files with 42 additions and 54 deletions
|
@ -9,7 +9,7 @@
|
|||
{%- endif -%}
|
||||
</span>
|
||||
{%- else -%}
|
||||
<a class="{% if icon %}{{ icon | downcase }} icon {% endif %}{{ class }}" href="{{ categoryUrl }}" rel="me">
|
||||
<a class="{% if icon %}{{ icon | downcase }} icon {% endif %}{{ class }}" href="{{ categoryUrl }}" rel="me" aria-label="{{ title }}">
|
||||
{%- if icon -%}
|
||||
{% tablericon icon %}
|
||||
<span>{{ title }}</span>
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
<a
|
||||
class="{{ icon }}"
|
||||
href="{{ url | downcase }}"
|
||||
rel="me"
|
||||
title="{{ title }}"
|
||||
tabindex="0">
|
||||
{% tablericon icon %}
|
||||
</a>
|
|
@ -5,10 +5,7 @@
|
|||
{% tablericon "arrow-left" %}
|
||||
</a>
|
||||
{%- else -%}
|
||||
<span
|
||||
class="disabled"
|
||||
aria-label="Previous page (disabled)"
|
||||
disabled>
|
||||
<span class="disabled" disabled>
|
||||
{% tablericon "arrow-left" %}
|
||||
</span>
|
||||
{%- endif -%}
|
||||
|
@ -29,10 +26,7 @@
|
|||
{% tablericon "arrow-right" %}
|
||||
</a>
|
||||
{%- else -%}
|
||||
<span
|
||||
class="disabled"
|
||||
aria-label="Next page (disabled)"
|
||||
disabled>
|
||||
<span class="disabled" disabled>
|
||||
{% tablericon "arrow-right" %}
|
||||
</span>
|
||||
{%- endif -%}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<script type="module" src="/assets/scripts/components/theme-toggle.js?v={% appVersion %}" crossorigin="anonymous"></script>
|
||||
<span class="client-side">
|
||||
<theme-toggle>
|
||||
<button class="theme-toggle">
|
||||
<button aria-label="Light and dark theme toggle" class="theme-toggle">
|
||||
<span class="light">
|
||||
{% tablericon "sun" %}
|
||||
</span>
|
||||
|
|
Reference in a new issue