added placeholder in context for latest post plugin

This commit is contained in:
Davide Truffo 2015-06-02 17:23:53 +02:00
parent 150de8866f
commit 010c648b08
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ class BlogLatestEntriesPlugin(BlogPlugin):
context['instance'] = instance
context['posts_list'] = instance.get_posts(context['request'])
context['TRUNCWORDS_COUNT'] = get_setting('POSTS_LIST_TRUNCWORDS_COUNT')
context['placeholder'] = placeholder
return context
@ -47,6 +48,7 @@ class BlogLatestEntriesPluginCached(BlogPlugin):
context['instance'] = instance
context['posts_list'] = instance.get_posts()
context['TRUNCWORDS_COUNT'] = get_setting('POSTS_LIST_TRUNCWORDS_COUNT')
context['placeholder'] = placeholder
return context