1
0
Fork 0
forked from github/pelican

I change PERMALINK_STRUCTURE to ARTICLE_PERMALINK_STRUCTURE and updating the settings.rst documentation.

Also I have implemented other options to this setting, such as the category, the date, the author, this kind of things.

Finally, I have setted the ARTICLE_PERMALINK_STRUCTURE option as null in pelican.conf.py sample file.
This commit is contained in:
mviera 2011-07-29 01:11:35 +02:00
commit 2609004719
4 changed files with 28 additions and 8 deletions

View file

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