Skip to content

Commit e1edb4b

Browse files
committed
Fix #124: set title for dark/light toggle
1 parent 251a054 commit e1edb4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@
3636
{% block nav_common %}{% endblock %}
3737
{% block nav_specific %}{% endblock %}
3838
<div class="nav-item" id="dark-switch">
39-
<a href="/theme?pref=dark" class="nav-button" aria-label="switch to dark">
39+
<a href="/theme?pref=dark" class="nav-button" title="switch to dark" aria-label="switch to dark">
4040
<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
4141
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 21a9 9 0 0 1-.5-17.986V3c-.354.966-.5 1.911-.5 3a9 9 0 0 0 9 9c.239 0 .254.018.488 0A9.004 9.004 0 0 1 12 21Z"/>
4242
</svg>
4343
</a>
4444
</div>
4545
<div class="nav-item" id="light-switch">
46-
<a href="/theme?pref=light" class="nav-button" aria-label="switch to light">
46+
<a href="/theme?pref=light" class="nav-button" title="switch to light" aria-label="switch to light">
4747
<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
4848
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 5V3m0 18v-2M7.05 7.05 5.636 5.636m12.728 12.728L16.95 16.95M5 12H3m18 0h-2M7.05 16.95l-1.414 1.414M18.364 5.636 16.95 7.05M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z"/>
4949
</svg>

0 commit comments

Comments
 (0)