mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Use the slug as default URL for tags and authors.
This commit is contained in:
parent
1ec2779f5e
commit
1c219d14bb
1 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue