diff --git a/app/templates/index.html b/app/templates/index.html
index 5691f12..e79da35 100644
--- a/app/templates/index.html
+++ b/app/templates/index.html
@@ -25,10 +25,14 @@ Welcome
{% from "macros/packagegridtile.html" import render_pkggrid %}
- Newly Added
- {{ render_pkggrid(new) }}
Popular
{{ render_pkggrid(popular) }}
+
+ Show More
+
+ Newly Added
+ {{ render_pkggrid(new) }}
+
{% endblock %}
diff --git a/app/views/__init__.py b/app/views/__init__.py
index 3fec29f..8695a4e 100644
--- a/app/views/__init__.py
+++ b/app/views/__init__.py
@@ -46,10 +46,10 @@ def send_upload(path):
@app.route("/")
@menu.register_menu(app, ".", "Home")
def home_page():
- query = Package.query.filter_by(approved=True, soft_deleted=False)
- count = query.count()
- new = query.order_by(db.desc(Package.created_at)).limit(3).all()
- popular = query.order_by(db.desc(Package.score)).limit(15).all()
+ query = Package.query.filter_by(approved=True, soft_deleted=False)
+ count = query.count()
+ new = query.order_by(db.desc(Package.created_at)).limit(15).all()
+ popular = query.order_by(db.desc(Package.score)).limit(6).all()
return render_template("index.html", new=new, popular=popular, count=count)
from . import users, githublogin, packages, meta, threads, api