1
0
Fork 0
forked from github/pelican

Use the slug as default URL for tags and authors.

This commit is contained in:
Alexis Metaireau 2012-03-11 01:16:32 +01:00
commit 1c219d14bb

View file

@ -37,10 +37,10 @@ _DEFAULT_CONFIG = {'PATH': None,
'PAGE_LANG_SAVE_AS': 'pages/{slug}-{lang}.html',
'CATEGORY_URL': 'category/{name}.html',
'CATEGORY_SAVE_AS': 'category/{name}.html',
'TAG_URL': 'tag/{name}.html',
'TAG_SAVE_AS': 'tag/{name}.html',
'AUTHOR_URL': u'author/{name}.html',
'AUTHOR_SAVE_AS': u'author/{name}.html',
'TAG_URL': 'tag/{slug}.html',
'TAG_SAVE_AS': 'tag/{slug}.html',
'AUTHOR_URL': u'author/{slug}.html',
'AUTHOR_SAVE_AS': u'author/{slug}.html',
'RELATIVE_URLS': True,
'DEFAULT_LANG': 'en',
'TAG_CLOUD_STEPS': 4,