spf13
9a83f7a01b
Fixing all tests to pass with new Viper Config
2014-04-07 11:44:51 -04:00
Ask Bjørn Hansen
ea8d0981d5
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 .
2014-02-28 11:55:37 -05:00
spf13
14227351fa
Reorganization of helpers. Centralized Url/Path logic. Fixed #175 .
2014-02-27 20:33:18 -05:00
Anton Ageev
72ba6d633d
Fix permalink bug in uglyurls mode (refs #187 ).
2014-02-02 00:56:01 -05:00
Tim Esselens
860f982cc4
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>
2013-11-20 15:32:22 -08:00
Noah Campbell
4993152dda
Permalink to include multiple directories levels
2013-10-08 18:44:15 +02:00
Noah Campbell
6e1268f45b
Test case for permalink functionality
2013-10-08 18:44:15 +02:00
Noah Campbell
9500ec1b6b
Refactor layout selection code
...
The render code path would use a fallback if there was an exception.
This change instead relies on explicit declaration of the layout to use
and includes a check to see if the layout indeed exists before
attempting to render it.
2013-10-08 18:44:15 +02:00