Timothy DeHerrera 675050fd56 fix: correct depth calculation for relative paths
- 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.
2026-01-24 21:52:12 -07:00
2026-01-24 18:17:00 -07:00
2022-11-01 15:18:00 -06:00
Description
No description provided
MIT 14 MiB
Languages
Rust 68.7%
Scheme 19.1%
CSS 11.7%
Nix 0.5%