Skip to content
Permalink
Browse files

pass photo array to templates for degradation

  • Loading branch information
ralsina committed Jun 10, 2015
1 parent 8e4b1e6 commit 74e31c49132153d56e608e1093f3d77f46d256d6
Showing with 1 addition and 0 deletions.
  1. +1 −0 nikola/plugins/task/galleries.py
@@ -556,6 +556,7 @@ def url_from_path(p):
'h': h
},
})
context['photo_array'] = photo_array
self.site.render_template(template_name, index_name, context)
with codecs.open(json_name, 'wb', 'utf8') as outf:
json.dump(photo_array, outf)

0 comments on commit 74e31c4

Please sign in to comment.