Chris Rose
cabdb26cee
Apply code style to project via: ruff format .
2023-10-29 22:18:29 +01:00
Justin Mayer
d43b786b30
Modernize code base to Python 3+ syntax
...
Replaces syntax that was relevant in earlier Python versions but that
now has modernized equivalents.
2020-04-27 09:45:31 +02:00
Kevin Yap
1e0e541b57
Initial pass of removing Python 2 support
...
This commit removes Six as a dependency for Pelican, replacing the
relevant aliases with the proper Python 3 imports. It also removes
references to Python 2 logic that did not require Six.
2019-11-26 06:16:41 +09:00
MinchinWeb
3a0add4b6e
Convert FEED settings from %s to {slug} redux ( #2432 )
...
* Convert FEED settings from `%s` to `{slug}` redux
Closes #2106 , Closes #2383
2018-11-03 16:12:20 +01:00
derwinlu
8993c55e6e
fulfil pep8 standard
2015-08-17 13:34:32 +02:00
Patrick Fournier
d0afaa5fbe
Format custom metadata fields listed in the FORMATTED_FIELDS setting.
...
Adding FORMATTED_FIELDS to the default settings with ['summary'] as the default value.
2015-02-24 16:57:05 -05:00
Kevin Yap
88ad46fd4d
Change documented type of various settings
...
- DEFUALT_METADATA, tuple -> dictionary
- OUTPUT_RETENTION, tuple -> list
- JINJA_FILTERS, list -> dictionary
- DIRECT_TEMPLATES, tuple -> list
2015-01-17 18:15:24 -08:00
Russ Webber
b527fd594d
added testing for default locale setting
...
removed LOCALE="" from default conf as it looks weird and you
shouldn't need to set a blank LOCALE for the system to work.
2013-07-21 14:12:21 +08:00
W. Trevor King
7de7bd0e37
Update sample configurations from FILES_TO_COPY to EXTRA_PATH_METADATA
2013-06-12 15:02:31 -04:00
Alexis Métaireau
547f8d2e83
Move the tests into pelican. Fix #500
2013-03-06 00:41:27 -08:00