hugolib: Fix ref/relref issue with duplicate base filenames
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 26 May 2017 07:12:19 +0000 (10:12 +0300)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 26 May 2017 07:42:45 +0000 (10:42 +0300)
commit612f6e3afe0510c31f70f3621f3dc8ba609dade4
tree82d5587cb8057038a8bde05d7f27cff3c212f1d6
parent50d11138f3e18b545c15fadf52f7b0b744bf3e7c
hugolib: Fix ref/relref issue with duplicate base filenames

This commit also makes that function 80x faster.

Fixes #2507
hugolib/page_collections.go
hugolib/page_collections_test.go
hugolib/site.go
hugolib/site_test.go