1
0
Fork 0
forked from github/pelican
pelican-theme/pelican/tests
Vladimír Vondruš ec2a1bd42a pagination: this lstrip() was way too hungry, eating absolute URLs.
Reverts back to how pagination worked for the {url} placeholder as I did
it in 182fb11c80. Absolute URLs with
one or two leading slashes were eaten by lstrip() and became relative,
which then caused broken links in my case.

Added extra comments to this piece of code (*and* the test) to make it
less likely that someone breaks this again in the future.
2019-01-04 22:10:53 +01:00
..
content Fix example sites in metadata tags list test 2018-11-11 12:00:59 +01:00
cyclic_intersite_links Add a test for false-positive warnings about intersite links. 2018-11-11 01:18:53 +01:00
mixed_content Make StaticGenerator skip content sources. Refs #1019. 2014-10-31 16:46:01 -07:00
nested_content/maindir Make PAGE_EXCLUDES work with subdirs. Fixes #1500. 2014-11-01 17:38:20 -07:00
output Remove Atom summaries when they are unnecessary 2018-12-18 21:57:16 +01:00
parse_error Add tests verifying graceful handling on reST errors. 2018-11-10 23:08:10 +01:00
TestPages automatically copy linked static files 2018-11-01 18:08:11 +01:00
theme_overrides Add THEME_TEMPLATE_OVERRIDES. Refs 2021 2017-10-10 14:33:20 +08:00
__init__.py Add logging for warnings during test suite run 2015-10-22 09:45:04 +02:00
default_conf.py Convert FEED settings from %s to {slug} redux (#2432) 2018-11-03 16:12:20 +01:00
support.py automatically copy linked static files 2018-11-01 18:08:11 +01:00
test_cache.py automatically copy linked static files 2018-11-01 18:08:11 +01:00
test_contents.py Remove non-existent tag attribute handling from Content.url_format 2018-11-25 13:27:18 +01:00
test_generators.py Merge branch 'master' into html_list_tags 2018-11-11 11:30:28 +01:00
test_importer.py Make the blogger tests consistant with the wp ones - cast 2018-11-26 16:58:12 +00:00
test_paginator.py pagination: this lstrip() was way too hungry, eating absolute URLs. 2019-01-04 22:10:53 +01:00
test_pelican.py Merge pull request #2406 from mosra/metadata-intrasite-links-process-only-once 2018-11-11 18:18:54 +01:00
test_readers.py Fix example sites in metadata tags list test 2018-11-11 12:00:59 +01:00
test_rstdirectives.py fulfil pep8 standard 2015-08-17 13:34:32 +02:00
test_server.py correct suffix order in ComplexHTTPRequestHandler 2018-08-08 16:37:39 +02:00
test_settings.py Replace %s rather than fallback to defaults 2018-11-11 14:54:14 -08:00
test_testsuite.py Drop unsupported Python 3.3 2017-10-02 18:33:21 +03:00
test_urlwrappers.py control slug substitutions from settings with regex 2018-10-31 16:20:21 +01:00
test_utils.py control scope of identification of translations with new settings 2018-11-01 10:12:47 +01:00