aboutsummaryrefslogtreecommitdiff
path: root/app/templates/index.html
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2020-07-09 05:22:58 +0100
committerrubenwardy <rw@rubenwardy.com>2020-07-09 05:30:13 +0100
commit75ab56cad1afa4e179977344b103bbf523f2baac (patch)
treee99388aeccc81597013f2ca4c35fa1fd9024d651 /app/templates/index.html
parent25b481ac0a5426f5a23869fd3a92b13cca35b0db (diff)
downloadcheatdb-75ab56cad1afa4e179977344b103bbf523f2baac.tar.xz
Add recent positive reviews to homepage
Diffstat (limited to 'app/templates/index.html')
-rw-r--r--app/templates/index.html19
1 files changed, 5 insertions, 14 deletions
diff --git a/app/templates/index.html b/app/templates/index.html
index a7574d6..84c1d06 100644
--- a/app/templates/index.html
+++ b/app/templates/index.html
@@ -20,20 +20,6 @@
{% endblock %}
{% block content %}
-<!-- <header class="jumbotron">
- <div class="container">
- <h1 class="display-3">{{ config.USER_APP_NAME }}</h1>
-
- <p class="lead">
- Minetest's official content repository.
- Browse {{ count }} packages,
- the majority of which are available under a free
- and open source license.
- </p>
- </div>
-</header>
-
-<main class="container"> -->
{% from "macros/packagegridtile.html" import render_pkggrid %}
@@ -64,6 +50,11 @@
<h2 class="my-3">{{ _("Top Texture Packs") }}</h2>
{{ render_pkggrid(pop_txp) }}
+
+ <h2 class="my-3">{{ _("Recent Positive Reviews") }}</h2>
+ {% from "macros/reviews.html" import render_reviews %}
+ {{ render_reviews(reviews, True) }}
+
<div class="text-center">
<small>
{{ _("CDB has %(count)d packages, with a total of %(downloads)d downloads.", count=count, downloads=downloads) }}