diff --git a/app/blueprints/homepage/__init__.py b/app/blueprints/homepage/__init__.py index 063aa922..03299484 100644 --- a/app/blueprints/homepage/__init__.py +++ b/app/blueprints/homepage/__init__.py @@ -26,8 +26,8 @@ def home(): updated = db.session.query(Package).select_from(PackageRelease).join(Package) \ .filter_by(soft_deleted=False, approved=True) \ .order_by(db.desc(PackageRelease.releaseDate)) \ - .limit(8).all() - updated = updated[:4] + .limit(20).all() + updated = updated[:8] reviews = PackageReview.query.filter_by(recommends=True).order_by(db.desc(PackageReview.created_at)).limit(5).all() diff --git a/app/templates/index.html b/app/templates/index.html index 3a80f8cf..896239d3 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -23,6 +23,13 @@ {% from "macros/packagegridtile.html" import render_pkggrid %} + + {{ _("See more") }} + +