1
0
Fork 0
forked from github/pelican
pelican-theme/pelican
(GalaxyMaster) e6df353302
Set "modified:" from "date:" when the latter was set from the filesystem (#2748)
Sets the `modified:` metadata from `date:` if the user asked us
to use the filesystem for determining timestamps. Fixes #2497

* Added tests (ab)using the HTML reader a bit

There seems to be no way to test this generically since we need
to produce a valid document with meta information to be able to
compare, hence I used the lightest reader out there to do the
parsing of the samples.

* Fixed tests for generators since there were 4 more articles
introduced to the test content directory.
2020-05-03 17:45:25 +02:00
..
plugins Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
tests Set "modified:" from "date:" when the latter was set from the filesystem (#2748) 2020-05-03 17:45:25 +02:00
themes Expose first and last page of pagination (#2618) 2020-04-30 19:05:48 +02:00
tools Allow setting host in Invoke serve & livereload tasks 2020-04-30 15:21:04 +02:00
__init__.py Flake8 fix 2020-04-30 21:21:14 +02:00
__main__.py Initial pass of removing Python 2 support 2019-11-26 06:16:41 +09:00
cache.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
contents.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
generators.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
log.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
paginator.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
readers.py Set "modified:" from "date:" when the latter was set from the filesystem (#2748) 2020-05-03 17:45:25 +02:00
rstdirectives.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
server.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
settings.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
urlwrappers.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00
utils.py Fix error strings whitespace 2020-04-29 18:08:38 +02:00
writers.py Modernize code base to Python 3+ syntax 2020-04-27 09:45:31 +02:00