diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/builder/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/builder/base.py b/app/builder/base.py index 6dd32e2..9dc0533 100644 --- a/app/builder/base.py +++ b/app/builder/base.py @@ -340,7 +340,7 @@ class BuildProjects(Build): 'MEDIA_URL': settings.BAKED_MEDIA_URL, 'IMAGES_URL': settings.BAKED_IMAGES_URL }) - t = render_to_string('details/%s.html' % (proj['slug']), c).encode('utf-8') + t = render_to_string('details/%s.html' % (proj['slug'].split("/")[1]), c).encode('utf-8') path = 'projects/%s/' % (proj['slug']) self.write_file(path, t) |