mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #2963 from geoffff/master
This commit is contained in:
commit
86f62d0a92
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ class Page:
|
||||||
# changed to lstrip() because that would remove all leading slashes and
|
# changed to lstrip() because that would remove all leading slashes and
|
||||||
# thus make the workaround impossible. See
|
# thus make the workaround impossible. See
|
||||||
# test_custom_pagination_pattern() for a verification of this.
|
# test_custom_pagination_pattern() for a verification of this.
|
||||||
if ret[0] == '/':
|
if ret.startswith('/'):
|
||||||
ret = ret[1:]
|
ret = ret[1:]
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue