mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
add docs for customised save location for direct template pages and switch to notes directive for notes
This commit is contained in:
parent
cc46ac5d4c
commit
c7de5e6bff
1 changed files with 17 additions and 9 deletions
|
|
@ -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
|
||||
articles and pages anywhere you want.
|
||||
|
||||
Note: If you specify a datetime directive, it will be substituted using the
|
||||
input files' date metadata attribute. If the date is not specified for a
|
||||
particular file, Pelican will rely on the file's mtime timestamp.
|
||||
.. note::
|
||||
If you specify a datetime directive, it will be substituted using the
|
||||
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
|
||||
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.
|
||||
================================================ =====================================================
|
||||
|
||||
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
|
||||
--------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue