Skip to content

prepare for hugo 0.93

Erik Faye-Lund requested to merge kusma/mesa3d.org:dont-use-page-path into main

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

Merge request reports

Loading