hubolib: Embed Page in WeightedPage
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 4 May 2017 17:14:43 +0000 (19:14 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 9 May 2017 21:58:25 +0000 (23:58 +0200)
commitebf677a58360126d8b9a1e98d086aa4279f53181
tree835e69006426be8fc2702f238887dc321dff1f5a
parent58d9cbd31bcf7c296a39860fd7e566d10faaff28
hubolib: Embed Page in WeightedPage

People can still say `.Page`, but by embedding it `WeightedPages` can be used interchangeably with `Pages` in templates.

Fixes #3435
hugolib/taxonomy.go