Add toggle sidebar tooltip #3
Some checks are pending
Publish / publish (push) Waiting to run

This commit is contained in:
david-swift 2025-04-12 21:47:28 +02:00
parent 7377a98fd1
commit 5c69f0c253
2 changed files with 2 additions and 1 deletions

View File

@ -79,6 +79,7 @@ theme_dark = "Switch to Dark Theme"
theme_light = "Switch to Light Theme"
theme_system = "Use System Theme"
tip = "Tip"
toggle_sidebar = "Toggle Sidebar"
trigger_warning = "Trigger Warning"
updated = "Updated on"
view_comment = "View Comment At"

View File

@ -3,7 +3,7 @@
{% block aside %}
{%- set section = get_section(path=page.ancestors | last) -%}
<input type="checkbox" id="sidebar-toggle">
<label for="sidebar-toggle" class="toggle-label"><i class="icon"></i></label>
<label for="sidebar-toggle" class="toggle-label" title="{{ macros_translate::translate(key='toggle_sidebar', default='Toggle Sidebar', language_strings=language_strings) }}"><i class="icon"></i></label>
<label for="sidebar-toggle" class="toggle-overlay"></label>
<aside id="docs-container">
{% include "partials/docs_toc.html" %}