diff options
Diffstat (limited to 'app/builder/base.py')
-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 a112aa0..9dc07e9 100644 --- a/app/builder/base.py +++ b/app/builder/base.py @@ -240,7 +240,7 @@ class BuildPages(Build): pages = model.objects.all() for page in pages: c = Context({'object':page,'SITE_URL':settings.SITE_URL, 'MEDIA_URL':settings.BAKED_MEDIA_URL,'IMAGES_URL':settings.BAKED_IMAGES_URL}) - t = render_to_string('details/page.html',c).encode('utf-8') + t = render_to_string(["details/%s.html" % page.slug, 'details/page.html'],c).encode('utf-8') s = render_to_string('details/page.txt',c).encode('utf-8') fpath = '%s/' %(page.slug) self.write_file(fpath,t) |