1
0
Fork 0
forked from github/pelican

Change CATEGORIES_URL and CATEGORIES_SAVE_AS docs to

make it consistent with TAGS_URL and TAGS_SAVE_AS.

Add default values to CATEGORIES_URL and CATEGORIES_SAVE_AS.
This commit is contained in:
Iuri de Silvio 2014-01-05 18:15:45 -02:00
commit fb1cfc35bf
2 changed files with 4 additions and 2 deletions

View file

@ -248,8 +248,8 @@ Setting name (default value) What does it do?
use the default language.
`PAGE_LANG_SAVE_AS` (``'pages/{slug}-{lang}.html'``) The location we will save the page which doesn't
use the default language.
`CATEGORIES_URL` (``'categories/'``) The URL to use for the category list.
`CATEGORIES_SAVE_AS` (``'categories/index.html'``) The location to save the category list.
`CATEGORIES_URL` (``'categories.html'``) The URL to use for the category list.
`CATEGORIES_SAVE_AS` (``'categories.html'``) The location to save the category list.
`CATEGORY_URL` (``'category/{slug}.html'``) The URL to use for a category.
`CATEGORY_SAVE_AS` (``'category/{slug}.html'``) The location to save a category.
`TAG_URL` (``'tag/{slug}.html'``) The URL to use for a tag.

View file

@ -68,6 +68,8 @@ DEFAULT_CONFIG = {
'PDF_GENERATOR': False,
'PDF_STYLE_PATH': '',
'PDF_STYLE': 'twelvepoint',
'CATEGORIES_URL': 'categories.html',
'CATEGORIES_SAVE_AS': 'categories.html',
'CATEGORY_URL': 'category/{slug}.html',
'CATEGORY_SAVE_AS': os.path.join('category', '{slug}.html'),
'TAG_URL': 'tag/{slug}.html',