mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Fixed path_to_url when os.sep is not '/'.
This commit is contained in:
parent
0d7c3e1b0a
commit
8e254e8cd7
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ def path_to_url(path):
|
|||
if os.sep == '/':
|
||||
return path
|
||||
else:
|
||||
'/'.join(split_all(path))
|
||||
return '/'.join(split_all(path))
|
||||
|
||||
|
||||
def truncate_html_words(s, num, end_text='...'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue