mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Change the way to compute relative paths to avoid the leading .././ when using
relative urls.
This commit is contained in:
parent
c731edcdeb
commit
088c810b00
3 changed files with 10 additions and 6 deletions
|
|
@ -79,7 +79,7 @@ class TestWebAssetsRelativeURLS(TestWebAssets):
|
|||
self.check_link_tag(css_file, os.path.join(self.temp_path, f))
|
||||
|
||||
self.check_link_tag(
|
||||
'.././theme/gen/style.{0}.min.css'.format(CSS_HASH),
|
||||
'../theme/gen/style.{0}.min.css'.format(CSS_HASH),
|
||||
os.path.join(self.temp_path, 'category/yeah.html'))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue