fixed trailing dir slash when using slug
authorTim Esselens <tim.esselens@gmail.com>
Tue, 19 Nov 2013 13:10:03 +0000 (14:10 +0100)
committerNoah Campbell <noahcampbell@gmail.com>
Wed, 20 Nov 2013 23:32:22 +0000 (15:32 -0800)
commit860f982cc454a6a5e111eb5b79915cd21f49240e
treecf342cd6f0ef4abe25a2fcf6dfa277b0ffb1619f
parente425226a2802993f4be3689565136965fb5bc58c
fixed trailing dir slash when using slug

See testcase, dir + slug contained double slash when dir had a trailing
slash.

Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
hugolib/page.go
hugolib/page_permalink_test.go