|
@ -41,7 +41,6 @@ class ChordproSong(Song): |
|
|
content = self.cached['song'].content |
|
|
content = self.cached['song'].content |
|
|
context = { |
|
|
context = { |
|
|
'language': self.languages[0], |
|
|
'language': self.languages[0], |
|
|
"path": files.relpath(self.fullpath, os.path.dirname(output)), |
|
|
|
|
|
"titles": self.titles, |
|
|
"titles": self.titles, |
|
|
"authors": self.authors, |
|
|
"authors": self.authors, |
|
|
"metadata": self.data, |
|
|
"metadata": self.data, |
|
@ -49,6 +48,7 @@ class ChordproSong(Song): |
|
|
"config": self.config, |
|
|
"config": self.config, |
|
|
"content": content, |
|
|
"content": content, |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
jinjaenv = Environment(loader=FileSystemLoader( |
|
|
jinjaenv = Environment(loader=FileSystemLoader( |
|
|
self.get_template_paths(output_format) |
|
|
self.get_template_paths(output_format) |
|
|
)) |
|
|
)) |
|
|