1
0
Fork 0
forked from github/pelican

Clarify that 'fs' date setting is a string

This commit is contained in:
Kevin Yap 2015-01-17 16:19:37 -08:00
commit 8aa9a9329e
2 changed files with 2 additions and 2 deletions

View file

@ -91,7 +91,7 @@ via the ``keywords`` metadata, as is standard in HTML. The two can be used
interchangeably.
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
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

View file

@ -58,7 +58,7 @@ Setting name (followed by default value, if any)
template. Templates may or not honor this
setting.
``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
date information from the metadata.
If set to a tuple object, the default datetime object will instead