mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Clarify that 'fs' date setting is a string
This commit is contained in:
parent
3c514266dd
commit
8aa9a9329e
2 changed files with 2 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ via the ``keywords`` metadata, as is standard in HTML. The two can be used
|
||||||
interchangeably.
|
interchangeably.
|
||||||
|
|
||||||
Note that, aside from the title, none of this article metadata is mandatory:
|
Note that, aside from the title, none of this article metadata is mandatory:
|
||||||
if the date is not specified and ``DEFAULT_DATE`` is set to ``fs``, Pelican
|
if the date is not specified and ``DEFAULT_DATE`` is set to ``'fs'``, Pelican
|
||||||
will rely on the file's "mtime" timestamp, and the category can be determined
|
will rely on the file's "mtime" timestamp, and the category can be determined
|
||||||
by the directory in which the file resides. For example, a file located at
|
by the directory in which the file resides. For example, a file located at
|
||||||
``python/foobar/myfoobar.rst`` will have a category of ``foobar``. If you would
|
``python/foobar/myfoobar.rst`` will have a category of ``foobar``. If you would
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ Setting name (followed by default value, if any)
|
||||||
template. Templates may or not honor this
|
template. Templates may or not honor this
|
||||||
setting.
|
setting.
|
||||||
``DEFAULT_DATE = None`` The default date you want to use.
|
``DEFAULT_DATE = None`` The default date you want to use.
|
||||||
If ``fs``, Pelican will use the file system
|
If ``'fs'``, Pelican will use the file system
|
||||||
timestamp information (mtime) if it can't get
|
timestamp information (mtime) if it can't get
|
||||||
date information from the metadata.
|
date information from the metadata.
|
||||||
If set to a tuple object, the default datetime object will instead
|
If set to a tuple object, the default datetime object will instead
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue