changeset 26:3701daa97927

Use the same defaults as in PieCrust 1.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 19 Aug 2014 11:22:29 -0700
parents 65ae19c4e8a3
children 105f24f490cb
files piecrust/app.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/piecrust/app.py	Tue Aug 19 11:07:42 2014 -0700
+++ b/piecrust/app.py	Tue Aug 19 11:22:29 2014 -0700
@@ -163,7 +163,7 @@
             posts_fs = sitec.setdefault('posts_fs', DEFAULT_POSTS_FS)
             blogsc = sitec.setdefault('blogs', ['posts'])
 
-            g_post_url = sitec.get('post_url', '%year%/%month%/%slug%')
+            g_post_url = sitec.get('post_url', '%year%/%month%/%day%/%slug%')
             g_tag_url = sitec.get('tag_url', 'tag/%tag%')
             g_category_url = sitec.get('category_url', '%category%')
             g_posts_per_page = sitec.get('items_per_page', 5)