Blog on frontpage

This commit is contained in:
2016-11-25 13:32:05 +01:00
parent f2d9df8b61
commit f75c43055f
4 changed files with 171 additions and 11 deletions

View File

@@ -741,7 +741,7 @@ def project_update_nodes_list(node, project_id=None, list_name='latest'):
node_list_name = 'nodes_' + list_name
project[node_list_name] = []
nodes_list = project[node_list_name]
elif len(nodes_list) > 10:
elif len(nodes_list) > 15:
nodes_list.pop(0)
if node._id in nodes_list: