Make per-page url overrides take precedence over section permalink settings
authorAsk Bjørn Hansen <ask@develooper.com>
Fri, 28 Feb 2014 07:30:12 +0000 (23:30 -0800)
committerspf13 <steve.francia@gmail.com>
Fri, 28 Feb 2014 16:55:37 +0000 (11:55 -0500)
commitea8d0981d5c0c820f543073299c56a3a3e2c44fc
treec6f8ebd92f93b550968d9c8a3a6f6c0802b8ee59
parent732b5d42b2c1adb5b9ef36b79c10c786b28aee39
Make per-page url overrides take precedence over section permalink settings

This seems more reasonable to me.

I didn't understand why the pUrl comparision was on len > 2; I changed it to 0.

Closes #212.
hugolib/page.go
hugolib/page_permalink_test.go