aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-07-04 01:20:55 +0100
committerrubenwardy <rw@rubenwardy.com>2018-07-04 01:20:55 +0100
commita6c8b12cdd55906e03d79c4c776914cd43567055 (patch)
treeec07d28e6a83b6c0f5c382d52566e57bb621049d /app/templates
parent7813c766acb44a328e2a79bc95d8b949b0c1c205 (diff)
downloadcheatdb-a6c8b12cdd55906e03d79c4c776914cd43567055.tar.xz
Reorder new and popular, change number of packages in each
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/index.html8
1 files changed, 6 insertions, 2 deletions
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
<main>
{% from "macros/packagegridtile.html" import render_pkggrid %}
- <h2>Newly Added</h2>
- {{ render_pkggrid(new) }}
<h2>Popular</h2>
{{ render_pkggrid(popular) }}
+
+ <a href="{{ url_for('packages_page') }}" class="button">Show More</a>
+
+ <h2 style="margin-top:2em;">Newly Added</h2>
+ {{ render_pkggrid(new) }}
+
</main>
{% endblock %}