Files
rclone/docs/layouts/chrome/toc.html
Nick Craig-Wood 839a3b92e0 docs: modernize rclone.org site design
- replace Bootstrap/jQuery with purpose-built CSS and JS
- remove backend icons from navbar and content pages
- replace remaining FontAwesome icons with inline SVGs, remove FontAwesome
- modernize CSS styling for menus, typography, cards, tables, and code blocks
- add copy-to-clipboard buttons on code blocks using SVG icon
- move TOC to left sidebar with responsive overlay drawer
- add sticky header, top scrollbar and first column for wide tables
- add left/right arrow buttons to scrollable tables
- hide homepage logo on mobile
- make wide menus with filter for Commands and Storage Systems
- add dark mode support based on browser preference
- fix CSS/JS cache busting to use build time
2026-04-02 16:32:54 +01:00

10 lines
344 B
HTML

{{ if and (gt .WordCount 200) (not (.Params.notoc)) }}
<button class="toc-toggle" aria-label="Toggle table of contents">
<svg class="icon toc-toggle-icon" aria-hidden="true"><use href="#icon-chevrons-right"/></svg>
</button>
<div class="toc-sidebar">
<a href="#" class="toc-title">On this page</a>
{{ .TableOfContents }}
</div>
{{ end }}