Skip to content

Commit

Permalink
Use post text. Blocked on an item in issue #800
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Oct 18, 2013
1 parent e9a99fa commit 4e62e7a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nikola/plugins/task/galleries.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,10 @@ def gen_tasks(self):
context["thumbnail_size"] = self.kw["thumbnail_size"]

# FIXME: use post text
context['text'] = 'foo'
if post:
context['text'] = post.text(lang)
else:
context['text'] = ''

file_dep = self.site.template_system.template_deps(
template_name) + image_list + thumbs
Expand Down

0 comments on commit 4e62e7a

Please sign in to comment.