add docs for customised save location for direct template pages and switch to notes directive for notes

This commit is contained in:
Stuart Colville 2012-04-28 18:02:10 +01:00
commit c7de5e6bff

View file

@ -96,9 +96,10 @@ your articles in a location such as '{slug}/index.html' and link to them as
'{slug}' for clean URLs. These settings give you the flexibility to place your '{slug}' for clean URLs. These settings give you the flexibility to place your
articles and pages anywhere you want. articles and pages anywhere you want.
Note: If you specify a datetime directive, it will be substituted using the .. note::
input files' date metadata attribute. If the date is not specified for a If you specify a datetime directive, it will be substituted using the
particular file, Pelican will rely on the file's mtime timestamp. input files' date metadata attribute. If the date is not specified for a
particular file, Pelican will rely on the file's mtime timestamp.
Check the Python datetime documentation at http://bit.ly/cNcJUC for more Check the Python datetime documentation at http://bit.ly/cNcJUC for more
information. information.
@ -142,7 +143,14 @@ Setting name (default value) what does it do?
`TAG_SAVE_AS` ('tag/{name}.html') The location to save the tag page. `TAG_SAVE_AS` ('tag/{name}.html') The location to save the tag page.
================================================ ===================================================== ================================================ =====================================================
Note: when any of `*_SAVE_AS` is set to False, files will not be created. .. note::
When any of `*_SAVE_AS` is set to False, files will not be created.
You can change the file output location of any pages listed in DIRECT_TEMPLATES
by providing a setting <TEMPLATE_NAME>_SAVE_AS, where <TEMPLATE_NAME> is the template
name in uppercase; e.g. CATEGORIES. If False it will not be created.
Timezone Timezone
-------- --------