diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-10 12:27:42 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-10 12:27:42 +0200 |
| commit | 1f9cc1d578de130ca9433e00422bded017a75f29 (patch) | |
| tree | 7968ba5b92a22e3ac5d20c59238e7ab2ae155b4b /layouts/shortcodes/figure.html | |
| parent | 9ba44135fb03e90e495bbe1190282016c391bd63 (diff) | |
| download | danixxyz-theme-1f9cc1d578de130ca9433e00422bded017a75f29.tar.gz danixxyz-theme-1f9cc1d578de130ca9433e00422bded017a75f29.zip | |
feat: conditionally show progress-bar only on single articles and pages
Hide progress-bar from:
- Homepage (.IsHome)
- Taxonomy/term pages (.Kind == "term" or "taxonomy")
- Section/list pages (.Kind == "section")
Show progress-bar only on:
- Single articles
- Single pages
This removes visual clutter from list pages while keeping the reading progress indicator for long-form content.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'layouts/shortcodes/figure.html')
0 files changed, 0 insertions, 0 deletions
