contentdb/app/templates/index.html
2018-12-21 15:58:43 +00:00

34 lines
706 B
HTML

{% extends "base.html" %}
{% block title %}
Welcome
{% endblock %}
{% block container %}
<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 %}
<h2>Popular</h2>
{{ render_pkggrid(popular) }}
<a href="{{ url_for('packages_page') }}" class="btn">Show More</a>
<h2 style="margin-top:2em;">Newly Added</h2>
{{ render_pkggrid(new) }}
</main>
{% endblock %}