Use `.Path` instead of `.File.Path` when surrounded by `with .File` block
When I was working on https://github.com/mastodon/documentation/pull/1425 I was getting errors from this line.
I am not a hugo expert and genuinely have no idea what I'm doing here, however I found that with huge latest version (0.124.1) installed locally the error was solved by this change. I note that the build script here is specifically using an older version ... where presumably this error doesn't occur?
Makes sense to merge this, but I think we will need to bump the Hugo version at the same time?
Makes sense to merge this, but I think we will need to bump the Hugo version at the same time?
I'm not actually sure -- there are other places in other templates which are already doing what this change does, which makes me think it works on current version?