mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #838 from jimperio/master
Make relative URLs work on Windows.
This commit is contained in:
commit
ba41611d64
1 changed files with 1 additions and 1 deletions
|
|
@ -317,7 +317,7 @@ def path_to_url(path):
|
||||||
if os.sep == '/':
|
if os.sep == '/':
|
||||||
return path
|
return path
|
||||||
else:
|
else:
|
||||||
'/'.join(split_all(path))
|
return '/'.join(split_all(path))
|
||||||
|
|
||||||
|
|
||||||
def truncate_html_words(s, num, end_text='...'):
|
def truncate_html_words(s, num, end_text='...'):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue