node to page: Render aliases before pages
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 19 Nov 2016 11:09:06 +0000 (12:09 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 22 Nov 2016 08:57:03 +0000 (09:57 +0100)
commit0bbdcf24feb6a1c0c7bdbabf504bd2e270ca81a6
treefe52050f7a8dbceff53fc77d5c962d717bd3542a
parent32fb1e6fac0534dcd4f8e8b42909c17fa254b4a4
node to page: Render aliases before pages

Some sites, Hugo docs included, have faulty alias definitions that point
to itself or another real page. These will be overwritten in the next step.

This is how it behaves in Hugo 0.17, too.

Updates #2297
hugolib/site.go