hugolib: Improve logic of output path trimming
authorCameron Moore <moorereason@gmail.com>
Fri, 21 Dec 2018 08:42:37 +0000 (02:42 -0600)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 21 Dec 2018 08:42:37 +0000 (09:42 +0100)
commit0483299bc06a742d40528e0d675e42e149910853
treea6ac869dabe6922216a8d843b2bb931ef31c36c9
parent27b62a546cd5c49df7424caeabe4af35ddd3bd90
hugolib: Improve logic of output path trimming

Fixes #4666
hugolib/page_paths.go
hugolib/page_permalink_test.go