mirror of
https://github.com/rclone/rclone.git
synced 2026-04-06 16:44:40 -04:00
- 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
2 lines
470 B
HTML
2 lines
470 B
HTML
{{ with .Get "dark-src" }}<picture{{ with $.Get "class" }} class="{{ . }}"{{ end }} style="width:{{ $.Get "width" }}; {{ $.Get "style" | safeCSS }}"><source srcset="{{ . }}" media="(prefers-color-scheme: dark)"><img width="100%" src="{{ $.Get "src" }}" alt="{{ $.Get "alt" }}"></picture>{{ else }}<img width="{{ .Get "width" }}" src="{{ .Get "src" }}" alt="{{ .Get "alt" }}" style="{{ .Get "style" | safeCSS }}"{{ with .Get "class" }} class="{{ . }}"{{ end }}>{{ end }}
|