mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #2593 from sharmaeklavya2/relative-static-paths
Use relative paths only in StaticGenerator
This commit is contained in:
commit
075ca53bd2
1 changed files with 1 additions and 2 deletions
|
|
@ -799,8 +799,7 @@ class StaticGenerator(Generator):
|
|||
|
||||
def generate_context(self):
|
||||
self.staticfiles = []
|
||||
linked_files = {os.path.join(self.path, path)
|
||||
for path in self.context['static_links']}
|
||||
linked_files = set(self.context['static_links'])
|
||||
found_files = self.get_files(self.settings['STATIC_PATHS'],
|
||||
exclude=self.settings['STATIC_EXCLUDES'],
|
||||
extensions=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue