1
0
Fork 0
forked from github/pelican

Adding more documentation about ARTICLE_PERMALINK_STRUCTURE in settings. Also, i deleted the try except because strftime never raises an exception. Issue #145

I set the ARTICLE_PERMALINK_STRUCTURE option as null in settings.py and remove it from pelican sample config file.
This commit is contained in:
mviera 2011-07-29 22:08:21 +02:00
commit a13ae91f0b
4 changed files with 21 additions and 13 deletions

View file

@ -42,7 +42,7 @@ _DEFAULT_CONFIG = {'PATH': None,
'DEFAULT_METADATA': (),
'FILES_TO_COPY': (),
'DEFAULT_STATUS': 'published',
'ARTICLE_PERMALINK_STRUCTURE': '/%Y/%m/'
'ARTICLE_PERMALINK_STRUCTURE': ''
}
def read_settings(filename):