675050fd56e1bb94fd4e2511881b09f7f8e475ef
- src/templates.rs: Add path_depth() helper that counts directory segments minus filename, not raw slash count. "/blog/slug.html" → depth=1 (one directory level) "/index.html" → depth=0 (root level) This fixes relative path generation after adding canonical URLs. file:// navigation now works correctly alongside absolute canonical URLs.
Description
Languages
Rust
68.7%
Scheme
19.1%
CSS
11.7%
Nix
0.5%