prepare for hugo 0.93
We're currently using .Page.Path
, which is going to change behavior in
Hugo 0.93. Luckily, there's a prefectly fine alternative that works for
us, which is using .Page.File.Path
instead.
This results in the exact same generated code, just being forward-compatible. As a nice side-effect, it quiets a warning introduced in Hugo 0.92.
Edited by Erik Faye-Lund