mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #331 from neoascetic/default_category_url
Use {slug} instead of {name} for category URL and FILENAME formatting
This commit is contained in:
commit
718f8989f8
1 changed files with 2 additions and 2 deletions
|
|
@ -43,8 +43,8 @@ _DEFAULT_CONFIG = {'PATH': '.',
|
|||
'PAGE_SAVE_AS': 'pages/{slug}.html',
|
||||
'PAGE_LANG_URL': 'pages/{slug}-{lang}.html',
|
||||
'PAGE_LANG_SAVE_AS': 'pages/{slug}-{lang}.html',
|
||||
'CATEGORY_URL': 'category/{name}.html',
|
||||
'CATEGORY_SAVE_AS': 'category/{name}.html',
|
||||
'CATEGORY_URL': 'category/{slug}.html',
|
||||
'CATEGORY_SAVE_AS': 'category/{slug}.html',
|
||||
'TAG_URL': 'tag/{slug}.html',
|
||||
'TAG_SAVE_AS': 'tag/{slug}.html',
|
||||
'AUTHOR_URL': u'author/{slug}.html',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue