mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Added a new setting OUTPUT_SOURCES_EXTENSION
Using this configurable setting users can control what extension will be appended to filenames by the SourcesGenerator. The default is to use the ``.text`` extension.
This commit is contained in:
parent
0a1a868b37
commit
a7dd21ffaf
3 changed files with 20 additions and 1 deletions
|
|
@ -72,6 +72,9 @@ Setting name (default value) What doe
|
|||
`OUTPUT_SOURCES` (``False``) Set to True if you want to copy the articles and pages in their
|
||||
original format (e.g. Markdown or ReStructeredText) to the
|
||||
specified OUTPUT_PATH.
|
||||
`OUTPUT_SOURCES_EXTENSION` (``.text``) Controls the extension that will be used by the SourcesGenerator.
|
||||
Defaults to .text. If the first character is not a `.` the
|
||||
dot character will be prepended to the extension.
|
||||
`RELATIVE_URLS` (``True``) Defines whether Pelican should use document-relative URLs or
|
||||
not. If set to ``False``, Pelican will use the SITEURL
|
||||
setting to construct absolute URLs.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue