rendering
This commit is contained in:
@ -32,7 +32,7 @@ class HomeView(AttachedToMixin, BaseView, ListView):
|
||||
logs = logs.after(min_date)
|
||||
else:
|
||||
logs = logs.date(today)
|
||||
return Log.merge_diffusions(logs, object_list, diff_count=self.related_count, group_logs=True)
|
||||
return Log.merge_diffusions(logs, object_list, diff_count=self.related_count, log_slice=20, group_logs=True)
|
||||
|
||||
def get_next_diffs(self):
|
||||
now = tz.now()
|
||||
|
@ -71,6 +71,7 @@ class BasePageListView(AttachedToMixin, BasePageMixin, ParentMixin, BaseView, Li
|
||||
|
||||
if not context.get("cover") and parent and parent.cover:
|
||||
context["cover"] = parent.cover.url
|
||||
|
||||
return context
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user