gohugoio / hugoDocs

The source for https://gohugo.io/
Apache License 2.0
1.06k stars 1.49k forks source link

Change hugolib.pageState => page.Page #2406

Closed bep closed 9 months ago

bep commented 9 months ago
image

While the above is (mostly) technically correct, it isn't very user friendly. The return value of that method is the interface page.Page. which is one of 2 core interfaces in Hugo (the other being resource.Resource).

jmooring commented 9 months ago

Yeah, I had it on my list to make some of the return types more friendly, but I ran out of steam. I'll take care of this.