URI: 
       hubolib: Embed Page in WeightedPage - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit ebf677a58360126d8b9a1e98d086aa4279f53181
   DIR parent 58d9cbd31bcf7c296a39860fd7e566d10faaff28
  HTML Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
       Date:   Thu,  4 May 2017 19:14:43 +0200
       
       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
       
       Diffstat:
         M hugolib/taxonomy.go                 |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/hugolib/taxonomy.go b/hugolib/taxonomy.go
       @@ -39,7 +39,7 @@ type WeightedPages []WeightedPage
        // A WeightedPage is a Page with a weight.
        type WeightedPage struct {
                Weight int
       -        Page   *Page
       +        *Page
        }
        
        func (w WeightedPage) String() string {