Allow indexing collections list page
This commit is contained in:
@@ -54,7 +54,7 @@ def list_all(author=None):
|
||||
collections = [x for x in query.all() if x.check_perm(current_user, Permission.VIEW_COLLECTION)]
|
||||
return render_template("collections/list.html",
|
||||
user=user, collections=collections,
|
||||
noindex=user is None or len(collections) == 0)
|
||||
noindex=len(collections) == 0)
|
||||
|
||||
|
||||
@bp.route("/collections/<author>/<name>/")
|
||||
|
||||
Reference in New Issue
Block a user