Example usage:
* ARTICLE_URL = 'posts/{date:%Y}/{date:%b}/{date:%d}/{slug}/'
* ARTICLE_SAVE_AS = 'posts/{date:%Y}/{date:%b}/{date:%d}/{slug}/index.html'
This removes CLEAN_URLS and ARTICLE_PERMALINK_STRUCTURE because these
new settings can produce the same result.
This adds an extensions setting all readers in the style of [ext]_EXTENSIONS. So for the MarkdownReader, who's extension is "md", the setting read is MD_EXTENSIONS.
The settings allow overriding the default options passed through the readers. In the case of Markdown the default values are ['codehilite','extra'], but user may change this through the setting:
MD_EXTENSIONS = ['footnotes','abbr','codehilite']
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.
- The `simple` theme can now be extended with the syntax `{% extends "!simple/index.html" %}`
instead of `{% extends "simple/index.html" %}` to avoid conflicts with a `simple/` folder.
- If a template is missing in a theme, it will be replaced by the
corresponding template of the `simple` theme, so it's possible to
make a new theme with only two file: a `base.html` file that
extends the `base.html` file of the `simple` theme, and a CSS
stylesheet, for example.
Templates from the `simple` themes can be used in the other themes using
the `extends` keyword:
{% extends "simple/index.html" %}
This does not affect the behavior of Pelican:, so there is no need to modify
the existing themes.
generator.categories is now a list of (category, articles) instead of a dict. This
is to avoid using ordered dicts that have been introduces in python 2.7, so we stay
as much as possible compatible with older versions.
This fixes#62. Thanks to Bruno for the report.